[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>

authored by Jean Delvare and committed by Linus Torvalds 0bb92e6c 6d740cd5

+3 -3
+3 -3
drivers/parport/parport_pc.c
··· 1546 } 1547 #endif /* CONFIG_PARPORT_PC_SUPERIO */ 1548 1549 - static int __devinit get_superio_dma (struct parport *p) 1550 { 1551 int i=0; 1552 while( (superios[i].io != p->base) && (i<NR_SUPERIOS)) ··· 2106 /* --- DMA detection -------------------------------------- */ 2107 2108 /* Only if chipset conforms to ECP ISA Interface Standard */ 2109 - static int __devinit programmable_dma_support (struct parport *p) 2110 { 2111 unsigned char oecr = inb (ECONTROL (p)); 2112 int dma; ··· 2123 return dma; 2124 } 2125 2126 - static int __devinit parport_dma_probe (struct parport *p) 2127 { 2128 const struct parport_pc_private *priv = p->private_data; 2129 if (priv->ecr)
··· 1546 } 1547 #endif /* CONFIG_PARPORT_PC_SUPERIO */ 1548 1549 + static int get_superio_dma (struct parport *p) 1550 { 1551 int i=0; 1552 while( (superios[i].io != p->base) && (i<NR_SUPERIOS)) ··· 2106 /* --- DMA detection -------------------------------------- */ 2107 2108 /* Only if chipset conforms to ECP ISA Interface Standard */ 2109 + static int programmable_dma_support (struct parport *p) 2110 { 2111 unsigned char oecr = inb (ECONTROL (p)); 2112 int dma; ··· 2123 return dma; 2124 } 2125 2126 + static int parport_dma_probe (struct parport *p) 2127 { 2128 const struct parport_pc_private *priv = p->private_data; 2129 if (priv->ecr)