aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/cell/io-workarounds.h
diff options
context:
space:
mode:
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>2008-05-14 19:05:19 +1000
committerPaul Mackerras <paulus@samba.org>2008-05-15 20:49:57 +1000
commit7012255aaee28203c15761f864e34b806b71dd53 (patch)
tree7e906e9026386de8e18fcdb0aa9391b214f6ac8a /arch/powerpc/platforms/cell/io-workarounds.h
parentdfe1e09f220b73ff9b5614185ef24de4c07c578d (diff)
[POWERPC] cell: Fix section mismatches in io-workarounds code
Fix following warnings: WARNING: arch/powerpc/platforms/cell/built-in.o(.devinit.text+0x9c): Section mismatch in reference from the function .cell_setup_phb() to the function .init.text:.iowa_register_bus() WARNING: arch/powerpc/platforms/cell/built-in.o(.devinit.text+0xa4): Section mismatch in reference from the function .cell_setup_phb() to the function .init.text:.io_workaround_init() Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/io-workarounds.h')
-rw-r--r--arch/powerpc/platforms/cell/io-workarounds.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/cell/io-workarounds.h b/arch/powerpc/platforms/cell/io-workarounds.h
index 79d8ed3d510..6efc7782ebf 100644
--- a/arch/powerpc/platforms/cell/io-workarounds.h
+++ b/arch/powerpc/platforms/cell/io-workarounds.h
@@ -31,9 +31,9 @@ struct iowa_bus {
void *private;
};
-void __init io_workaround_init(void);
-void __init iowa_register_bus(struct pci_controller *, struct ppc_pci_io *,
- int (*)(struct iowa_bus *, void *), void *);
+void __devinit io_workaround_init(void);
+void __devinit iowa_register_bus(struct pci_controller *, struct ppc_pci_io *,
+ int (*)(struct iowa_bus *, void *), void *);
struct iowa_bus *iowa_mem_find_bus(const PCI_IO_ADDR);
struct iowa_bus *iowa_pio_find_bus(unsigned long);