]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
console: fix section mismatch warning in vgacon.c
authorSam Ravnborg <sam@ravnborg.org>
Sat, 21 Jul 2007 11:37:31 +0000 (04:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 00:49:14 +0000 (17:49 -0700)
commit80e27982a66ea8306a704ba8bdf634ed480d4b46
tree50536d35b176048b781e3a5b3ed63c59e5ea1138
parent3e63516c826454c964eefdd24d33e188064c6679
console: fix section mismatch warning in vgacon.c

Fix following section mismatch warning:
WARNING: vmlinux.o(.text+0x121e62): Section mismatch: reference to .init.text:__alloc_bootmem (between 'vgacon_startup' and 'vgacon_scrolldelta')

Browsing the code it seems that vgacon_scrollback_startup() is only called
during the init phase so the reference to the .init.text section is OK.

Teach modpost not to warn using ___init_refok.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: "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/console/vgacon.c