[PATCH] parport_pc: fix parport_pc_probe_port section warning
authorJean Delvare <khali@linux-fr.org>
Tue, 20 Feb 2007 21:58:18 +0000 (13:58 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 21 Feb 2007 01:10:16 +0000 (17:10 -0800)
commit0bb92e6cd313cf209ea0c164952d1f65c5b3ea46
treeda38f5bbd26ff319e160386edf5657d0cff84902
parent6d740cd5b18bc8128e70f98cfde8c74ebd21cea1
[PATCH] parport_pc: fix parport_pc_probe_port section warning

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

parport_dma_probe() cannot be declared __devinit as it is called
from parport_pc_probe_port() which isn't.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/parport/parport_pc.c