]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] parport: section mismatches with HOTPLUG=n
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 7 Dec 2006 04:38:33 +0000 (20:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:40 +0000 (08:39 -0800)
commit4438982f56b7e2ecb7932612601ba0390972ce3b
tree97b25e80c551169cb6fc76a68cbb808b136f5e00
parent9711ef9945ce33b2b4ecb51a4db3f65f7d784876
[PATCH] parport: section mismatches with HOTPLUG=n

When CONFIG_HOTPLUG=n, parport_pc calls some __devinit == __init code that
could be discarded.  These calls are made from parport_irq_probe(), which is
called from parport_pc_probe_port(), which is an exported symbol, so the calls
could (possibly) happen after init time.

WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text between 'parport_irq_probe' (at offset 0x31d) and 'parport_pc_probe_port'
WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text between 'parport_irq_probe' (at offset 0x346) and 'parport_pc_probe_port'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/parport/parport_pc.c