]> err.no Git - linux-2.6/commit
virtio/virtcons: fix section mismatch warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 5 Nov 2007 22:51:01 +0000 (14:51 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 5 Nov 2007 23:12:32 +0000 (15:12 -0800)
commit139b82984af5a98e4b03fd01616d79fc4970128a
treeb98fa586bb2fa78aa1366275aefe4c4494a2f8bd
parent12730926557e9b89b7618b79754598b09387d37d
virtio/virtcons: fix section mismatch warning

Make virtcons_probe() __devinit.
Fixes this section warning:

WARNING: vmlinux.o(.text+0x14c10b): Section mismatch: reference to .init.text:hvc_alloc (between 'virtcons_probe' and 'ac_register_board')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/virtio_console.c