summaryrefslogtreecommitdiffstats
path: root/drivers/net/irda
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2006-07-07 08:58:27 +0200
committerJeff Garzik <jeff@garzik.org>2006-07-12 23:42:40 +0200
commitc5d965caa1dbb54077673cf22e3f8a58e1cc866c (patch)
treeaee1c7a092464af8b27f0ad536bfd0f841b0ad19 /drivers/net/irda
parent[PATCH] 8139cp.c printk fix (diff)
downloadlinux-c5d965caa1dbb54077673cf22e3f8a58e1cc866c.tar.xz
linux-c5d965caa1dbb54077673cf22e3f8a58e1cc866c.zip
[PATCH] smsc-ircc2: fix section reference mismatches
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>
Diffstat (limited to 'drivers/net/irda')
-rw-r--r--drivers/net/irda/smsc-ircc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/smsc-ircc2.c b/drivers/net/irda/smsc-ircc2.c
index a4674044bd6f..2eff45bedc7c 100644
--- a/drivers/net/irda/smsc-ircc2.c
+++ b/drivers/net/irda/smsc-ircc2.c
@@ -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,