]> err.no Git - linux-2.6/commit
gbefb: fix section mismatch warnings
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 15 Nov 2007 01:00:11 +0000 (17:00 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:42 +0000 (18:45 -0800)
commit579d6d93ca531fba3e29ddf39fefe5184012068b
treef5a1e4d6f66f21d34edffdfc40022da661fccdde
parentcb51f973bce7aef46452b0c6faea8f791885f5b8
gbefb: fix section mismatch warnings

Make 'default_mode' and 'default_var' be __initdata.
Fixes these section warnings:

WARNING: vmlinux.o(.data+0x128e0): Section mismatch: reference to .init.data:default_mode_CRT (between 'default_mode' and 'default_var')
WARNING: vmlinux.o(.data+0x128e4): Section mismatch: reference to .init.data:default_var_CRT (between 'default_var' and 'dev_attr_size')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/gbefb.c