diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2006-07-06 23:58:27 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-07-12 17:42:40 -0400 |
commit | c5d965caa1dbb54077673cf22e3f8a58e1cc866c (patch) | |
tree | aee1c7a092464af8b27f0ad536bfd0f841b0ad19 /drivers/net/irda | |
parent | 4626dd46f5e70dfb70f4b57cf527c8de9f80e4fa (diff) | |
download | linux-c5d965caa1dbb54077673cf22e3f8a58e1cc866c.tar.bz2 |
[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.c | 2 |
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, |