Vladimir Murzin 88c2d0b6fa fbdev/ps3fb: Fix section mismatch warning for ps3fb_probe
While cross-building for PPC64 I've got

WARNING: drivers/video/built-in.o(.text+0x9f9ca): Section mismatch in
reference from the function .ps3fb_probe() to th e variable
.init.data:ps3fb_fix The function .ps3fb_probe() references the
variable __initdata ps3fb_fix.  This is often because .ps3fb_probe
lacks a __initdata annotation or the annotation of ps3fb_fix is wrong.

WARNING: drivers/video/built-in.o(.text+0x9f9d2): Section mismatch in
reference from the function .ps3fb_probe() to the variable
.init.data:ps3fb_fix The function .ps3fb_probe() references the
variable __initdata ps3fb_fix.  This is often because .ps3fb_probe
lacks a __initdata annotation or the annotation of ps3fb_fix is wrong.

WARNING: drivers/built-in.o(.text+0xe222a): Section mismatch in
reference from the function .ps3fb_probe() to the variable
.init.data:ps3fb_fix The function .ps3fb_probe() references the
variable __initdata ps3fb_fix.  This is often because .ps3fb_probe
lacks a __initdata annotation or the annotation of ps3fb_fix is wrong.

WARNING: drivers/built-in.o(.text+0xe2232): Section mismatch in
reference from the function .ps3fb_probe() to the variable
.init.data:ps3fb_fix The function .ps3fb_probe() references the
variable __initdata ps3fb_fix.  This is often because .ps3fb_probe
lacks a __initdata annotation or the annotation of ps3fb_fix is wrong.

WARNING: vmlinux.o(.text+0x561d4a): Section mismatch in reference from
the function .ps3fb_probe() to the variable .init.data:ps3fb_fix The
function .ps3fb_probe() references the variable __initdata ps3fb_fix.
This is often because .ps3fb_probe lacks a __initdata annotation or
the annotation of ps3fb_fix is wrong.

Mismatch was introduced with 48c68c4f "Drivers: video: remove __dev*
attributes."

Remove __init data annotation from ps3fb_fix.

Signed-off-by: Vladimir Murzin <murzin.v@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-09-11 11:39:39 +10:00
..
2013-09-04 14:41:55 -04:00
2013-08-26 14:09:03 -04:00
2013-09-06 13:30:06 -07:00
2013-09-09 16:08:13 -07:00
2013-09-03 11:37:15 -07:00
2013-09-10 13:53:52 -07:00
2013-09-04 11:49:16 +01:00
2013-09-03 11:37:57 -07:00
2013-08-20 16:10:28 -07:00
2013-09-09 16:35:29 -07:00
2013-09-06 13:34:43 -07:00
2013-09-06 13:30:06 -07:00
2013-09-10 13:33:09 -07:00
2013-09-10 13:53:52 -07:00
2013-09-06 13:30:06 -07:00
2013-08-27 01:41:35 +02:00
2013-08-20 12:44:03 +02:00
2013-09-06 13:21:16 -07:00
2013-09-03 15:48:06 -07:00
2013-09-06 13:26:27 -07:00
2013-09-03 11:37:15 -07:00
2013-08-19 17:08:16 -07:00
2013-09-04 11:28:04 -06:00
2013-09-04 17:45:39 -07:00