From: Andrew Morton Date: Sat, 20 May 2006 22:00:32 +0000 (-0700) Subject: [PATCH] pd6729 section fix X-Git-Tag: v2.6.17-rc5~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9781b8b055bd0a02a043ed80fb8d59d703a49daf;p=platform%2Fkernel%2Flinux-3.10.git [PATCH] pd6729 section fix WARNING: drivers/pcmcia/pd6729.o - Section mismatch: reference to .init.text: from .text between 'pd6729_pci_probe' (at offset 0x9a8) and 'pd6729_pci_remove' Cc: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/pcmcia/pd6729.c b/drivers/pcmcia/pd6729.c index 16d1ea7..247ab83 100644 --- a/drivers/pcmcia/pd6729.c +++ b/drivers/pcmcia/pd6729.c @@ -589,7 +589,7 @@ static int pd6729_check_irq(int irq, int flags) return 0; } -static u_int __init pd6729_isa_scan(void) +static u_int __devinit pd6729_isa_scan(void) { u_int mask0, mask = 0; int i;