[PATCH] smsc-ircc2: fix section reference mismatches
From: Dmitry Torokhov
Date: Thu Jul 06 2006 - 00:34:33 EST
Subject: smsc-ircc2: fix section reference mismatches
From: Dmitry Torokhov <dtor@xxxxxxxxxxxxx>
subsystem_configurations array is only used by an __init function,
therefore it should be marked __initdata, not __devinitdata.
Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>
---
drivers/net/irda/smsc-ircc2.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: work/drivers/net/irda/smsc-ircc2.c
===================================================================
--- work.orig/drivers/net/irda/smsc-ircc2.c
+++ work/drivers/net/irda/smsc-ircc2.c
@@ -2353,7 +2353,7 @@ static int __init smsc_superio_lpc(unsig
#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,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/