diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-08-15 06:55:57 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-08-16 21:02:06 -0400 |
commit | 124d795d16b018b054956c9be561f889acf95ac4 (patch) | |
tree | d04dda3faeffc4df82cf700732dbffbf0deaa4c8 /arch/powerpc/platforms/powermac | |
parent | 109b60f0bc1306192c765875badcaa5f3850a0a1 (diff) |
[POWERPC] Fix section mismatches in udbg_adb.c
The functions are only called from __init functions.
WARNING: vmlinux.o(.text+0x45ed0): Section mismatch: reference to .init.text:.btext_find_display (between '.udbg_adb_init_early' and '.udbg_adb_init')
WARNING: vmlinux.o(.text+0x45f9c): Section mismatch: reference to .init.text:.btext_find_display (between '.udbg_adb_init' and '.udbg_adb_getc_poll')
WARNING: vmlinux.o(.text+0x46000): Section mismatch: reference to .init.text:.find_via_pmu (between '.udbg_adb_init' and '.udbg_adb_getc_poll')
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac')
-rw-r--r-- | arch/powerpc/platforms/powermac/udbg_adb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powermac/udbg_adb.c b/arch/powerpc/platforms/powermac/udbg_adb.c index b1882e40525a..44e0b55a2a02 100644 --- a/arch/powerpc/platforms/powermac/udbg_adb.c +++ b/arch/powerpc/platforms/powermac/udbg_adb.c | |||
@@ -149,7 +149,7 @@ static void udbg_adb_putc(char c) | |||
149 | return udbg_adb_old_putc(c); | 149 | return udbg_adb_old_putc(c); |
150 | } | 150 | } |
151 | 151 | ||
152 | void udbg_adb_init_early(void) | 152 | void __init udbg_adb_init_early(void) |
153 | { | 153 | { |
154 | #ifdef CONFIG_BOOTX_TEXT | 154 | #ifdef CONFIG_BOOTX_TEXT |
155 | if (btext_find_display(1) == 0) { | 155 | if (btext_find_display(1) == 0) { |
@@ -159,7 +159,7 @@ void udbg_adb_init_early(void) | |||
159 | #endif | 159 | #endif |
160 | } | 160 | } |
161 | 161 | ||
162 | int udbg_adb_init(int force_btext) | 162 | int __init udbg_adb_init(int force_btext) |
163 | { | 163 | { |
164 | struct device_node *np; | 164 | struct device_node *np; |
165 | 165 | ||