diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-02-04 22:15:12 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-06 00:30:00 -0500 |
commit | de7d812d05f3075096a3e37222f4e1876ae25e6c (patch) | |
tree | 52716135a36ac5d645a6b4c8702e5e0c2d370ed6 /arch/powerpc/kernel/vio.c | |
parent | c6d01179bfee3048cce98fe303d7265faa3861a7 (diff) |
[POWERPC] iSeries: Fix section mismatch in viodsasd
WARNING: vmlinux.o(.text+0x3017c): Section mismatch in reference from the function .vio_create_viodasd() to the function .devinit.text:.vio_register_device_node()
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/vio.c')
-rw-r--r-- | arch/powerpc/kernel/vio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/vio.c b/arch/powerpc/kernel/vio.c index f0bad7070fb5..f98867252ee2 100644 --- a/arch/powerpc/kernel/vio.c +++ b/arch/powerpc/kernel/vio.c | |||
@@ -176,7 +176,7 @@ static void __devinit vio_dev_release(struct device *dev) | |||
176 | * Returns a pointer to the created vio_dev or NULL if node has | 176 | * Returns a pointer to the created vio_dev or NULL if node has |
177 | * NULL device_type or compatible fields. | 177 | * NULL device_type or compatible fields. |
178 | */ | 178 | */ |
179 | struct vio_dev * __devinit vio_register_device_node(struct device_node *of_node) | 179 | struct vio_dev *vio_register_device_node(struct device_node *of_node) |
180 | { | 180 | { |
181 | struct vio_dev *viodev; | 181 | struct vio_dev *viodev; |
182 | const unsigned int *unit_address; | 182 | const unsigned int *unit_address; |