diff options
author | Randy Dunlap | 2008-01-14 09:55:24 +0100 |
---|---|---|
committer | Linus Torvalds | 2008-01-14 17:52:23 +0100 |
commit | 27b526a09086d563d61cf0e0fdd5c8e3f3c295d4 (patch) | |
tree | 317395b44e62bad55f7bc28a0bc2123a3173c672 /security | |
parent | CRIS v10: kernel/time.c needs to include linux/vmstat.h to compile (diff) | |
download | kernel-qcow2-linux-27b526a09086d563d61cf0e0fdd5c8e3f3c295d4.tar.gz kernel-qcow2-linux-27b526a09086d563d61cf0e0fdd5c8e3f3c295d4.tar.xz kernel-qcow2-linux-27b526a09086d563d61cf0e0fdd5c8e3f3c295d4.zip |
uvesafb: fix section mismatch warnings
Mark uvesafb_init_mtrr() as __devinit since its caller is __devinit
and since it accesses __devinitdata.
WARNING: vmlinux.o(.text+0x4df80e): Section mismatch: reference to .init.data: (between 'uvesafb_init_mtrr' and 'uvesafb_show_vbe_ver')
Variable 'blank' cannot be __devinitdata since it is referenced in an
fb_ops method that could be called at any time.
WARNING: vmlinux.o(.text+0x4dfc1e): Section mismatch: reference to .init.data:blank (between 'param_set_scroll' and 'vesa_setpalette')
WARNING: vmlinux.o(.text+0x4dfc24): Section mismatch: reference to .init.data:blank (between 'param_set_scroll' and 'vesa_setpalette')
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions