Commit 3cb0c3b
params: Replace __modinit with __init_or_module
Remove the custom __modinit macro from kernel/params.c and instead use the
common __init_or_module macro from include/linux/module.h. Both provide the
same functionality.
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Reviewed-by: Aaron Tomlin <atomlin@atomlin.com>
Reviewed-by: Daniel Gomez <da.gomez@samsung.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>1 parent f13bff1 commit 3cb0c3b
1 file changed
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | 599 | | |
606 | 600 | | |
607 | 601 | | |
| |||
626 | 620 | | |
627 | 621 | | |
628 | 622 | | |
629 | | - | |
630 | | - | |
631 | | - | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
632 | 626 | | |
633 | 627 | | |
634 | 628 | | |
| |||
761 | 755 | | |
762 | 756 | | |
763 | 757 | | |
764 | | - | |
| 758 | + | |
| 759 | + | |
765 | 760 | | |
766 | 761 | | |
767 | 762 | | |
| |||
0 commit comments