diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-06-25 15:15:24 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-11-26 05:08:54 -0500 |
commit | a4df02a217e9787a4b967197d9d9030c3e3c1088 (patch) | |
tree | 4f32cbd30553494fa55d1cf2ecf294265196dc69 /arch/m68k/emu | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) |
m68k: Mark functions only called from setup_arch() __init
Some functions that are only called (indirectly) from setup_arch() lack
__init annotations.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/emu')
-rw-r--r-- | arch/m68k/emu/natfeat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68k/emu/natfeat.c b/arch/m68k/emu/natfeat.c index 121a6660ad4e..71b78ecee75c 100644 --- a/arch/m68k/emu/natfeat.c +++ b/arch/m68k/emu/natfeat.c | |||
@@ -9,6 +9,7 @@ | |||
9 | * the GNU General Public License (GPL), incorporated herein by reference. | 9 | * the GNU General Public License (GPL), incorporated herein by reference. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/init.h> | ||
12 | #include <linux/types.h> | 13 | #include <linux/types.h> |
13 | #include <linux/console.h> | 14 | #include <linux/console.h> |
14 | #include <linux/string.h> | 15 | #include <linux/string.h> |
@@ -70,7 +71,7 @@ static void nf_poweroff(void) | |||
70 | nf_call(id); | 71 | nf_call(id); |
71 | } | 72 | } |
72 | 73 | ||
73 | void nf_init(void) | 74 | void __init nf_init(void) |
74 | { | 75 | { |
75 | unsigned long id, version; | 76 | unsigned long id, version; |
76 | char buf[256]; | 77 | char buf[256]; |