]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] smsc-ircc2: fix section reference mismatches
authorDmitry Torokhov <dtor@insightbb.com>
Fri, 7 Jul 2006 06:58:27 +0000 (23:58 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 12 Jul 2006 21:42:40 +0000 (17:42 -0400)
subsystem_configurations array is only used by an __init function,
therefore it should be marked __initdata, not __devinitdata.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/irda/smsc-ircc2.c

index a4674044bd6f3c536b7abf195c7d4b480268ec97..2eff45bedc7cbc28a0f819fe44e43feece707bfe 100644 (file)
@@ -2353,7 +2353,7 @@ static int __init smsc_superio_lpc(unsigned short cfg_base)
 #ifdef CONFIG_PCI
 #define PCIID_VENDOR_INTEL 0x8086
 #define PCIID_VENDOR_ALI 0x10b9
-static struct smsc_ircc_subsystem_configuration subsystem_configurations[] __devinitdata = {
+static struct smsc_ircc_subsystem_configuration subsystem_configurations[] __initdata = {
        {
                .vendor = PCIID_VENDOR_INTEL, /* Intel 82801DBM LPC bridge */
                .device = 0x24cc,