Skip to contentSkip to conversation

Marking the pci_device_id tables of the serial-subsys

PATCH In review Henne 2 participants 15 messages Apr 24, 2006 – Apr 25, 2006

Subsystems (22)
lore
Share & tools
lore

Henne

author
#0 lore raw

PATCH 1/1 Marking the pci_device_id tables of the serial-subsys

From: Henrik Kretzschmar <[email protected]>

Marking the pci_device_id tables of the serial-subsys as __devinitdata.

---

diff -urN linux-2.6.17-rc2/drivers/serial/8250_pci.c linux/drivers/serial/8250_pci.c
--- linux-2.6.17-rc2/drivers/serial/8250_pci.c 2006-03-20
06:53:29.000000000 +0100
+++ linux/drivers/serial/8250_pci.c 2006-04-24 17:11:45.000000000 +0200
@@ -1813,7 +1813,7 @@
return 0;
}

-static struct pci_device_id serial_pci_tbl[] = { +static struct pci_device_id serial_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_V3, PCI_DEVICE_ID_V3_V960,
PCI_SUBVENDOR_ID_CONNECT_TECH, PCI_SUBDEVICE_ID_CONNECT_TECH_BH8_232, 0, 0,
diff -urN linux-2.6.17-rc2/drivers/serial/jsm/jsm_driver.c linux/drivers/serial/jsm/jsm_driver.c
--- linux-2.6.17-rc2/drivers/serial/jsm/jsm_driver.c 2006-04-24
13:31:01.000000000 +0200
+++ linux/drivers/serial/jsm/jsm_driver.c 2006-04-24 17:12:42.000000000
+0200
@@ -205,7 +205,7 @@
kfree(brd);
}

-static struct pci_device_id jsm_pci_tbl[] = {
+static struct pci_device_id jsm_pci_tbl[] __devinitdata = {
{ PCI_DEVICE(PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_NEO_2DB9), 0, 0, 0 }, { PCI_DEVICE(PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_NEO_2DB9PRI), 0, 0, 1 }, { PCI_DEVICE(PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_NEO_2RJ45), 0, 0, 2 },
diff -urN linux-2.6.17-rc2/drivers/serial/serial_txx9.c linux/drivers/serial/serial_txx9.c
--- linux-2.6.17-rc2/drivers/serial/serial_txx9.c 2006-04-24
13:31:01.000000000 +0200
+++ linux/drivers/serial/serial_txx9.c 2006-04-24 17:12:16.000000000 +0200
@@ -1149,7 +1149,7 @@
return 0;
}

-static struct pci_device_id serial_txx9_pci_tbl[] = { +static struct pci_device_id serial_txx9_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_TOSHIBA_2, PCI_DEVICE_ID_TOSHIBA_TC86C001_MISC,
PCI_ANY_ID, PCI_ANY_ID,
0, 0, 0 },
_______________________________________________
Kernel-janitors mailing list [email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#1 lore raw

PATCH 1/1 Marking the pci_device_id tables of the pcmcia-subsys

From: Henrik Kretzschmar <[email protected]>

Marking the pci_device_id tables of the pcmcia-subsys as __devinitdata.

---

diff -urN linux-2.6.17-rc2/drivers/pcmcia/i82092.c linux/drivers/pcmcia/i82092.c
--- linux-2.6.17-rc2/drivers/pcmcia/i82092.c 2006-04-24
13:31:00.000000000 +0200
+++ linux/drivers/pcmcia/i82092.c 2006-04-24 17:20:26.000000000 +0200
@@ -30,7 +30,7 @@
MODULE_LICENSE("GPL");

/* PCI core routines */
-static struct pci_device_id i82092aa_pci_ids[] = { +static struct pci_device_id i82092aa_pci_ids[] __devinitdata = {
{
.vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_82092AA_0,
diff -urN linux-2.6.17-rc2/drivers/pcmcia/pd6729.c linux/drivers/pcmcia/pd6729.c
--- linux-2.6.17-rc2/drivers/pcmcia/pd6729.c 2006-04-24
13:31:00.000000000 +0200
+++ linux/drivers/pcmcia/pd6729.c 2006-04-24 17:20:43.000000000 +0200
@@ -764,7 +764,7 @@
return pcmcia_socket_dev_resume(&dev->dev);
}

-static struct pci_device_id pd6729_pci_ids[] = {
+static struct pci_device_id pd6729_pci_ids[] __devinitdata = {
{
.vendor = PCI_VENDOR_ID_CIRRUS,
.device = PCI_DEVICE_ID_CIRRUS_6729,
diff -urN linux-2.6.17-rc2/drivers/pcmcia/ti113x.h linux/drivers/pcmcia/ti113x.h
--- linux-2.6.17-rc2/drivers/pcmcia/ti113x.h 2006-04-24
13:31:00.000000000 +0200
+++ linux/drivers/pcmcia/ti113x.h 2006-04-24 17:21:15.000000000 +0200
@@ -889,7 +889,7 @@
.subdevice = _subdev, \
.driver_data = ((mask) << 8 | (bits)), \
}
-static struct pci_device_id ene_tune_tbl[] = {
+static struct pci_device_id ene_tune_tbl[] __devinitdata = {
/* Echo Audio products based on motorola DSP56301 and DSP56361 */ DEVID(PCI_VENDOR_ID_MOTOROLA, 0x1801, 0xECC0, PCI_ANY_ID,
ENE_TEST_C9_TLTENABLE | ENE_TEST_C9_PFENABLE, ENE_TEST_C9_TLTENABLE),
diff -urN linux-2.6.17-rc2/drivers/pcmcia/yenta_socket.c linux/drivers/pcmcia/yenta_socket.c
--- linux-2.6.17-rc2/drivers/pcmcia/yenta_socket.c 2006-03-20
06:53:29.000000000 +0100
+++ linux/drivers/pcmcia/yenta_socket.c 2006-04-24 17:21:53.000000000 +0200
@@ -1195,7 +1195,7 @@
.driver_data = CARDBUS_TYPE_##type, \
}

-static struct pci_device_id yenta_table [] = { +static struct pci_device_id yenta_table[] __devinitdata = {
CB_ID(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_1031, TI),

/*
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#2 lore raw

PATCH 1/1 Marking the pci_device_id tables of the pci-subsystem

In reply to Henne

From: Henrik Kretzschmar <[email protected]>

Marking the pci_device_id tables of the pci-subsystem as __devinitdata.

---
Maybe this patch is bogus, since these drivers can't be compiled without HOTPLUG_PCI with Kconfig. Decide yourself. :)

diff -urN linux-2.6.17-rc2/drivers/pci/hotplug/cpcihp_zt5550.c linux/drivers/pci/hotplug/cpcihp_zt5550.c
--- linux-2.6.17-rc2/drivers/pci/hotplug/cpcihp_zt5550.c 2006-03-20
06:53:29.000000000 +0100
+++ linux/drivers/pci/hotplug/cpcihp_zt5550.c 2006-04-24
17:26:02.000000000 +0200
@@ -279,7 +279,7 @@
}

-static struct pci_device_id zt5550_hc_pci_tbl[] = {
+static struct pci_device_id zt5550_hc_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_ZIATECH, PCI_DEVICE_ID_ZIATECH_5550_HC, PCI_ANY_ID,
PCI_ANY_ID, },
{ 0, }
};
diff -urN linux-2.6.17-rc2/drivers/pci/hotplug/cpqphp_core.c linux/drivers/pci/hotplug/cpqphp_core.c
--- linux-2.6.17-rc2/drivers/pci/hotplug/cpqphp_core.c 2006-04-24
13:31:00.000000000 +0200
+++ linux/drivers/pci/hotplug/cpqphp_core.c 2006-04-24
17:26:33.000000000 +0200
@@ -1477,7 +1477,7 @@

-static struct pci_device_id hpcd_pci_tbl[] = { +static struct pci_device_id hpcd_pci_tbl[] __devinitdata = {
{
/* handle any PCI Hotplug controller */
.class = ((PCI_CLASS_SYSTEM_PCI_HOTPLUG << 8) | 0x00),
diff -urN linux-2.6.17-rc2/drivers/pci/hotplug/ibmphp_ebda.c linux/drivers/pci/hotplug/ibmphp_ebda.c
--- linux-2.6.17-rc2/drivers/pci/hotplug/ibmphp_ebda.c 2006-04-24
13:31:00.000000000 +0200
+++ linux/drivers/pci/hotplug/ibmphp_ebda.c 2006-04-24
17:28:40.000000000 +0200
@@ -1189,7 +1189,7 @@
}
}

-static struct pci_device_id id_table[] = { +static struct pci_device_id id_table[] __devinitdata = {
{
.vendor = PCI_VENDOR_ID_IBM,
.device = HPC_DEVICE_ID,
diff -urN linux-2.6.17-rc2/drivers/pci/hotplug/shpchp_core.c linux/drivers/pci/hotplug/shpchp_core.c
--- linux-2.6.17-rc2/drivers/pci/hotplug/shpchp_core.c 2006-04-24
13:31:00.000000000 +0200
+++ linux/drivers/pci/hotplug/shpchp_core.c 2006-04-24
17:29:05.000000000 +0200
@@ -470,7 +470,7 @@
kfree(ctrl);
}

-static struct pci_device_id shpcd_pci_tbl[] = {
+static struct pci_device_id shpcd_pci_tbl[] __devinitdata = {
{PCI_DEVICE_CLASS(((PCI_CLASS_BRIDGE_PCI << 8) | 0x00), ~0)}, { /* end: all zeroes */ }
};
_______________________________________________
Kernel-janitors mailing list [email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

#3 lore raw

Re: [KJ] [PATCH] Marking the pci_device_id tables of the

In reply to Henne
Quoted 7 lines · Henne

From: Henrik Kretzschmar <[email protected]>

Marking the pci_device_id tables of the pci-subsystem as __devinitdata.

---
Maybe this patch is bogus, since these drivers can't be compiled without HOTPLUG_PCI with Kconfig. Decide yourself. :)

It is bogus. I will not apply it, sorry.

thanks,

greg k-h

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#4 lore raw

PATCH 1/1 Marking the pci_device_id tables of the video-subsys

In reply to Henne

From: Henrik Kretzschmar <[email protected]>
Marking the pci_device_id tables of the video-subsys as __devinitdata.

---

drivers/video/aty/aty128fb.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/aty/aty128fb.c linux/drivers/video/aty/aty128fb.c
@@ -172,7 +172,7 @@
  static int aty128_do_resume(struct pci_dev *pdev);
 
  /* supported Rage128 chipsets */
-static struct pci_device_id aty128_pci_tbl[] = {
+static struct pci_device_id aty128_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RAGE128_LE,
  	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, rage_M3_pci },
  	{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RAGE128_LF,
drivers/video/aty/atyfb_base.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/aty/atyfb_base.c linux/drivers/video/aty/atyfb_base.c
@@ -3620,7 +3620,7 @@
   * probe() function find out what's up. That also mean we don't have
   * a module ID table though.
   */
-static struct pci_device_id atyfb_pci_tbl[] = {
+static struct pci_device_id atyfb_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_ATI, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
  	  PCI_BASE_CLASS_DISPLAY << 16, 0xff0000, 0 },
  	{ 0, }
drivers/video/aty/radeon_base.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/aty/radeon_base.c linux/drivers/video/aty/radeon_base.c
@@ -105,7 +105,7 @@
  #define CHIP_DEF(id, family, flags)					\
  	{ PCI_VENDOR_ID_ATI, id, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (flags) | (CHIP_FAMILY_##family) }
 
-static struct pci_device_id radeonfb_pci_table[] = {
+static struct pci_device_id radeonfb_pci_table[] __devinitdata = {
  	/* Mobility M6 */
  	CHIP_DEF(PCI_CHIP_RADEON_LY, 	RV100,	CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY),
  	CHIP_DEF(PCI_CHIP_RADEON_LZ,	RV100,	CHIP_HAS_CRTC2 | CHIP_IS_MOBILITY),
drivers/video/chipsfb.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/chipsfb.c linux/drivers/video/chipsfb.c
@@ -488,7 +488,7 @@
  #endif /* CONFIG_PM */
 
 
-static struct pci_device_id chipsfb_pci_tbl[] = {
+static struct pci_device_id chipsfb_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_CT, PCI_DEVICE_ID_CT_65550, PCI_ANY_ID, PCI_ANY_ID },
  	{ 0 }
  };
drivers/video/cirrusfb.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/cirrusfb.c linux/drivers/video/cirrusfb.c
@@ -277,7 +277,7 @@
  #define CHIP(id, btype) \
  	{ PCI_VENDOR_ID_CIRRUS, id, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (btype) }
 
-static struct pci_device_id cirrusfb_pci_table[] = {
+static struct pci_device_id cirrusfb_pci_table[] __devinitdata = {
  	CHIP( PCI_DEVICE_ID_CIRRUS_5436, BT_ALPINE ),
  	CHIP( PCI_DEVICE_ID_CIRRUS_5434_8, BT_ALPINE ),
  	CHIP( PCI_DEVICE_ID_CIRRUS_5434_4, BT_ALPINE ),
drivers/video/console/sticore.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/console/sticore.c linux/drivers/video/console/sticore.c
@@ -980,7 +980,7 @@
  }
 
 
-static struct pci_device_id sti_pci_tbl[] = {
+static struct pci_device_id sti_pci_tbl[] __devinitdata = {
  	{ PCI_DEVICE(PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_VISUALIZE_EG) },
  	{ PCI_DEVICE(PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_VISUALIZE_FX6) },
  	{ PCI_DEVICE(PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_VISUALIZE_FX4) },
drivers/video/cyber2000fb.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/cyber2000fb.c linux/drivers/video/cyber2000fb.c
@@ -1686,7 +1686,7 @@
  	return 0;
  }
 
-static struct pci_device_id cyberpro_pci_table[] = {
+static struct pci_device_id cyberpro_pci_table[] __devinitdata = {
  //	Not yet
  //	{ PCI_VENDOR_ID_INTERG, PCI_DEVICE_ID_INTERG_1682,
  //		PCI_ANY_ID, PCI_ANY_ID, 0, 0, ID_IGA_1682 },
drivers/video/cyblafb.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/cyblafb.c linux/drivers/video/cyblafb.c
@@ -1595,7 +1595,7 @@
  //
  // List of boards that we are trying to support
  //
-static struct pci_device_id cybla_devices[] = {
+static struct pci_device_id cybla_devices[] __devinitdata = {
  	{PCI_VENDOR_ID_TRIDENT, CYBERBLADEi1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
  	{0,}
  };
drivers/video/geode/gx1fb_core.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/geode/gx1fb_core.c linux/drivers/video/geode/gx1fb_core.c
@@ -405,7 +405,7 @@
  	framebuffer_release(info);
  }
 
-static struct pci_device_id gx1fb_id_table[] = {
+static struct pci_device_id gx1fb_id_table[] __devinitdata = {
  	{ PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5530_VIDEO,
  	  PCI_ANY_ID, PCI_ANY_ID, PCI_BASE_CLASS_DISPLAY << 16,
  	  0xff0000, 0 },
drivers/video/geode/gxfb_core.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/geode/gxfb_core.c linux/drivers/video/geode/gxfb_core.c
@@ -383,7 +383,7 @@
  	framebuffer_release(info);
  }
 
-static struct pci_device_id gxfb_id_table[] = {
+static struct pci_device_id gxfb_id_table[] __devinitdata = {
  	{ PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_CS5535_VIDEO,
  	  PCI_ANY_ID, PCI_ANY_ID, PCI_BASE_CLASS_DISPLAY << 16,
  	  0xff0000, 0 },
drivers/video/i810/i810_main.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/i810/i810_main.c linux/drivers/video/i810/i810_main.c
@@ -108,7 +108,7 @@
  	"Intel(R) 815 (Internal Graphics with AGP) Framebuffer Device"
  };
 
-static struct pci_device_id i810fb_pci_tbl[] = {
+static struct pci_device_id i810fb_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82810_IG1,
  	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
  	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82810_IG3,
drivers/video/imsttfb.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/imsttfb.c linux/drivers/video/imsttfb.c
@@ -1320,7 +1320,7 @@
  	}
  }
 
-static struct pci_device_id imsttfb_pci_tbl[] = {
+static struct pci_device_id imsttfb_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_IMS, PCI_DEVICE_ID_IMS_TT128,
  	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, IBM },
  	{ PCI_VENDOR_ID_IMS, PCI_DEVICE_ID_IMS_TT3D,
drivers/video/kyro/fbdev.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/kyro/fbdev.c linux/drivers/video/kyro/fbdev.c
@@ -644,7 +644,7 @@
  	return 0;
  }
 
-static struct pci_device_id kyrofb_pci_tbl[] = {
+static struct pci_device_id kyrofb_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_ST, PCI_DEVICE_ID_STG4000,
  	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
  	{ 0, }
drivers/video/matrox/matroxfb_base.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/matrox/matroxfb_base.c linux/drivers/video/matrox/matroxfb_base.c
@@ -2097,7 +2097,7 @@
  	matroxfb_remove(PMINFO 1);
  }
 
-static struct pci_device_id matroxfb_devices[] = {
+static struct pci_device_id matroxfb_devices[] __devinitdata = {
  #ifdef CONFIG_FB_MATROX_MILLENIUM
  	{PCI_VENDOR_ID_MATROX,	PCI_DEVICE_ID_MATROX_MIL,
  		PCI_ANY_ID,	PCI_ANY_ID,	0, 0, 0},
drivers/video/neofb.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/neofb.c linux/drivers/video/neofb.c
@@ -2230,7 +2230,7 @@
  	}
  }
 
-static struct pci_device_id neofb_devices[] = {
+static struct pci_device_id neofb_devices[] __devinitdata = {
  	{PCI_VENDOR_ID_NEOMAGIC, PCI_CHIP_NM2070,
  	 PCI_ANY_ID, PCI_ANY_ID, 0, 0, FB_ACCEL_NEOMAGIC_NM2070},
 
drivers/video/nvidia/nvidia.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/nvidia/nvidia.c linux/drivers/video/nvidia/nvidia.c
@@ -69,7 +69,7 @@
  /* HW cursor parameters */
  #define MAX_CURS		32
 
-static struct pci_device_id nvidiafb_pci_tbl[] = {
+static struct pci_device_id nvidiafb_pci_tbl[] __devinitdata = {
  	{PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_TNT,
  	 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
  	{PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_TNT2,
drivers/video/pm2fb.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/pm2fb.c linux/drivers/video/pm2fb.c
@@ -1234,7 +1234,7 @@
  	kfree(info);
  }
 
-static struct pci_device_id pm2fb_id_table[] = {
+static struct pci_device_id pm2fb_id_table[] __devinitdata = {
  	{ PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_TVP4020,
  	  PCI_ANY_ID, PCI_ANY_ID, PCI_BASE_CLASS_DISPLAY << 16,
  	  0xff0000, 0 },
drivers/video/riva/fbdev.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/riva/fbdev.c linux/drivers/video/riva/fbdev.c
@@ -112,7 +112,7 @@
   *
   * ------------------------------------------------------------------------- */
 
-static struct pci_device_id rivafb_pci_tbl[] = {
+static struct pci_device_id rivafb_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_NVIDIA_SGS, PCI_DEVICE_ID_NVIDIA_SGS_RIVA128,
  	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
  	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_TNT,
drivers/video/sis/sis_main.h +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/sis/sis_main.h linux/drivers/video/sis/sis_main.h
@@ -125,7 +125,7 @@
  	{ XGI_40,     SIS_315_VGA, 1, HW_CURSOR_AREA_SIZE_315 * 4, SIS_CRT2_WENABLE_315, "XGI V3XT/V5/V8" },
  };
 
-static struct pci_device_id __devinitdata sisfb_pci_table[] = {
+static struct pci_device_id sisfb_pci_table[] __devinitdata = {
  #ifdef CONFIG_FB_SIS_300
  	{ PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_300,     PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
  	{ PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_540_VGA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
drivers/video/sstfb.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/sstfb.c linux/drivers/video/sstfb.c
@@ -1543,7 +1543,7 @@
  }
 
 
-static struct pci_device_id sstfb_id_tbl[] = {
+static struct pci_device_id sstfb_id_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_3DFX, PCI_DEVICE_ID_3DFX_VOODOO,
  	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, ID_VOODOO1 },
  	{ PCI_VENDOR_ID_3DFX, PCI_DEVICE_ID_3DFX_VOODOO2,
drivers/video/tdfxfb.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/tdfxfb.c linux/drivers/video/tdfxfb.c
@@ -129,7 +129,7 @@
  				  const struct pci_device_id *id);
  static void __devexit tdfxfb_remove(struct pci_dev *pdev);
 
-static struct pci_device_id tdfxfb_id_table[] = {
+static struct pci_device_id tdfxfb_id_table[] __devinitdata = {
  	{ PCI_VENDOR_ID_3DFX, PCI_DEVICE_ID_3DFX_BANSHEE,
  	  PCI_ANY_ID, PCI_ANY_ID, PCI_BASE_CLASS_DISPLAY << 16,
  	  0xff0000, 0 },
drivers/video/tgafb.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/tgafb.c linux/drivers/video/tgafb.c
@@ -70,7 +70,7 @@
   *  PCI registration operations
   */
 
-static struct pci_device_id const tgafb_pci_table[] = {
+static struct pci_device_id const tgafb_pci_table[] __devinitdata = {
  	{ PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TGA, PCI_ANY_ID, PCI_ANY_ID,
  	  0, 0, 0 }
  };
drivers/video/tridentfb.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/video/tridentfb.c linux/drivers/video/tridentfb.c
@@ -1194,7 +1194,7 @@
  }
 
  /* List of boards that we are trying to support */
-static struct pci_device_id trident_devices[] = {
+static struct pci_device_id trident_devices[] __devinitdata = {
  	{PCI_VENDOR_ID_TRIDENT,	BLADE3D, PCI_ANY_ID,PCI_ANY_ID,0,0,0},
  	{PCI_VENDOR_ID_TRIDENT,	CYBERBLADEi7, PCI_ANY_ID,PCI_ANY_ID,0,0,0},
  	{PCI_VENDOR_ID_TRIDENT,	CYBERBLADEi7D, PCI_ANY_ID,PCI_ANY_ID,0,0,0},

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#5 lore raw

PATCH 1/1 Marking the pci_device_id tables of the parport-subsys

In reply to Henne

From: Henrik Kretzschmar <[email protected]>
Marking the pci_device_id tables of the parport-subsys as __devinitdata.

---

drivers/parport/parport_pc.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/parport/parport_pc.c linux/drivers/parport/parport_pc.c
@@ -2834,7 +2834,7 @@
  	/* netmos_9815 */               { 2, { { 0, -1 }, { 2, -1 }, } }, /* untested */
  };
 
-static const struct pci_device_id parport_pc_pci_tbl[] = {
+static const struct pci_device_id parport_pc_pci_tbl[] __devinitdata = {
  	/* Super-IO onboard chips */
  	{ 0x1106, 0x0686, PCI_ANY_ID, PCI_ANY_ID, 0, 0, sio_via_686a },
  	{ 0x1106, 0x8231, PCI_ANY_ID, PCI_ANY_ID, 0, 0, sio_via_8231 },
drivers/parport/parport_serial.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/parport/parport_serial.c linux/drivers/parport/parport_serial.c
@@ -88,7 +88,7 @@
  	/* siig_2s1p_20x */		{ 1, { { 2, 3 }, } },
  };
 
-static struct pci_device_id parport_serial_pci_tbl[] = {
+static struct pci_device_id parport_serial_pci_tbl[] __devinitdata = {
  	/* PCI cards */
  	{ PCI_VENDOR_ID_TITAN, PCI_DEVICE_ID_TITAN_110L,
  	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, titan_110l },

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#6 lore raw

PATCH 1/1 Marking the pci_device_id tables of the parisc-subsys

In reply to Henne

From: Henrik Kretzschmar <[email protected]>
Marking the pci_device_id tables of the parisc-subsys as __devinitdata.

---

drivers/parisc/superio.c 2006-04-25 14:04:15.000000000 +0200 renamed from drivers/parisc/superio.c 2006-04-24 13:31:00.000000000 +0200 +1 -1
diff -urN linux-2.6.17-rc2/drivers/parisc/superio.c linux/drivers/parisc/superio.c
@@ -485,7 +485,7 @@
         return -ENODEV;
  }
 
-static struct pci_device_id superio_tbl[] = {
+static struct pci_device_id superio_tbl[] __devinitdata = {
         { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_87560_LIO) },
         { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_87560_USB) },
         { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_87415) },

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#7 lore raw

PATCH 1/1 Marking the pci_device_id tables of the mtd-subsys as

In reply to Henne

From: Henrik Kretzschmar <[email protected]

Marking the pci_device_id tables of the mtd-subsys as __devinitdata.

---

drivers/mtd/maps/amd76xrom.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/mtd/maps/amd76xrom.c linux/drivers/mtd/maps/amd76xrom.c
@@ -276,7 +276,7 @@
  	amd76xrom_cleanup(window);
  }
 
-static struct pci_device_id amd76xrom_pci_tbl[] = {
+static struct pci_device_id amd76xrom_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_VIPER_7410,
  		PCI_ANY_ID, PCI_ANY_ID, },
  	{ PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_VIPER_7440,
drivers/mtd/maps/pci.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/mtd/maps/pci.c linux/drivers/mtd/maps/pci.c
@@ -265,7 +265,7 @@
   * PCI device ID table
   */
 
-static struct pci_device_id mtd_pci_ids[] = {
+static struct pci_device_id mtd_pci_ids[] __devinitdata = {
  	{
  		.vendor =	PCI_VENDOR_ID_INTEL,
  		.device =	0x530d,
drivers/mtd/maps/scb2_flash.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/mtd/maps/scb2_flash.c linux/drivers/mtd/maps/scb2_flash.c
@@ -218,7 +218,7 @@
  	pci_set_drvdata(dev, NULL);
  }
 
-static struct pci_device_id scb2_flash_pci_ids[] = {
+static struct pci_device_id scb2_flash_pci_ids[] __devinitdata = {
  	{
  	  .vendor = PCI_VENDOR_ID_SERVERWORKS,
  	  .device = PCI_DEVICE_ID_SERVERWORKS_CSB5,

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#8 lore raw

PATCH 1/1 Marking the pci_device_id tables of the message-subsys

In reply to Henne

From: Henrik Kretzschmar <[email protected]>

Marking the pci_device_id tables of the message-subsys as __devinitdata.

---

drivers/message/fusion/mptfc.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/message/fusion/mptfc.c linux/drivers/message/fusion/mptfc.c
@@ -131,7 +131,7 @@
   * Supported hardware
   */
 
-static struct pci_device_id mptfc_pci_table[] = {
+static struct pci_device_id mptfc_pci_table[] __devinitdata = {
  	{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC909,
  		PCI_ANY_ID, PCI_ANY_ID },
  	{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC919,
drivers/message/fusion/mptsas.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/message/fusion/mptsas.c linux/drivers/message/fusion/mptsas.c
@@ -2292,7 +2292,7 @@
  	mptscsih_remove(pdev);
  }
 
-static struct pci_device_id mptsas_pci_table[] = {
+static struct pci_device_id mptsas_pci_table[] __devinitdata = {
  	{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1064,
  		PCI_ANY_ID, PCI_ANY_ID },
  	{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1066,
drivers/message/fusion/mptspi.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/message/fusion/mptspi.c linux/drivers/message/fusion/mptspi.c
@@ -774,7 +774,7 @@
   * Supported hardware
   */
 
-static struct pci_device_id mptspi_pci_table[] = {
+static struct pci_device_id mptspi_pci_table[] __devinitdata = {
  	{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_53C1030,
  		PCI_ANY_ID, PCI_ANY_ID },
  	{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_1030_53C1035,
drivers/message/i2o/pci.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/message/i2o/pci.c linux/drivers/message/i2o/pci.c
@@ -35,7 +35,7 @@
  #define OSM_DESCRIPTION	"I2O-subsystem"
 
  /* PCI device id table for all I2O controllers */
-static struct pci_device_id __devinitdata i2o_pci_ids[] = {
+static struct pci_device_id i2o_pci_ids[] __devinitdata = {
  	{PCI_DEVICE_CLASS(PCI_CLASS_INTELLIGENT_I2O << 8, 0xffff00)},
  	{PCI_DEVICE(PCI_VENDOR_ID_DPT, 0xa511)},
  	{.vendor = PCI_VENDOR_ID_INTEL,.device = 0x1962,

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#9 lore raw

PATCH 1/1 Marking the pci_device_id tables od the isdn-subsys as

In reply to Henne

From: Henrik Kretzschmar <[email protected]>

Marking the pci_device_id tables od the isdn-subsys as __devinitdata.

---

drivers/isdn/hardware/avm/b1pci.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/isdn/hardware/avm/b1pci.c linux/drivers/isdn/hardware/avm/b1pci.c
@@ -32,7 +32,7 @@
 
  /* ------------------------------------------------------------- */
 
-static struct pci_device_id b1pci_pci_tbl[] = {
+static struct pci_device_id b1pci_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_AVM, PCI_DEVICE_ID_AVM_B1, PCI_ANY_ID, PCI_ANY_ID },
  	{ }				/* Terminating entry */
  };
drivers/isdn/hardware/avm/c4.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/isdn/hardware/avm/c4.c linux/drivers/isdn/hardware/avm/c4.c
@@ -40,7 +40,7 @@
 
  static int suppress_pollack;
 
-static struct pci_device_id c4_pci_tbl[] = {
+static struct pci_device_id c4_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_21285, PCI_VENDOR_ID_AVM, PCI_DEVICE_ID_AVM_C4, 0, 0, (unsigned long)4 },
  	{ PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_21285, PCI_VENDOR_ID_AVM, PCI_DEVICE_ID_AVM_C2, 0, 0, (unsigned long)2 },
  	{ }			/* Terminating entry */
drivers/isdn/hardware/avm/t1pci.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/isdn/hardware/avm/t1pci.c linux/drivers/isdn/hardware/avm/t1pci.c
@@ -33,7 +33,7 @@
  static char *revision = "$Revision: 1.1.2.2 $";
  /* ------------------------------------------------------------- */
 
-static struct pci_device_id t1pci_pci_tbl[] = {
+static struct pci_device_id t1pci_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_AVM, PCI_DEVICE_ID_AVM_T1, PCI_ANY_ID, PCI_ANY_ID },
  	{ }				/* Terminating entry */
  };
drivers/isdn/hardware/eicon/divasmain.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/isdn/hardware/eicon/divasmain.c linux/drivers/isdn/hardware/eicon/divasmain.c
@@ -116,7 +116,7 @@
  /*
    This table should be sorted by PCI device ID
    */
-static struct pci_device_id divas_pci_tbl[] = {
+static struct pci_device_id divas_pci_tbl[] __devinitdata = {
  /* Diva Server BRI-2M PCI 0xE010 */
  	{PCI_VENDOR_ID_EICON, PCI_DEVICE_ID_EICON_MAESTRA,
  	 PCI_ANY_ID, PCI_ANY_ID, 0, 0, CARDTYPE_MAESTRA_PCI},
drivers/isdn/hisax/config.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/isdn/hisax/config.c linux/drivers/isdn/hisax/config.c
@@ -1876,7 +1876,7 @@
  #ifdef CONFIG_PCI
  #include <linux/pci.h>
 
-static struct pci_device_id hisax_pci_tbl[] __initdata = {
+static struct pci_device_id hisax_pci_tbl[] __devinitdata = {
  #ifdef CONFIG_HISAX_FRITZPCI
  	{PCI_VENDOR_ID_AVM,      PCI_DEVICE_ID_AVM_A1,           PCI_ANY_ID, PCI_ANY_ID},
  #endif
drivers/isdn/hisax/hfc4s8s_l1.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/isdn/hisax/hfc4s8s_l1.c linux/drivers/isdn/hisax/hfc4s8s_l1.c
@@ -86,7 +86,7 @@
  	char *device_name;
  } hfc4s8s_param;
 
-static struct pci_device_id hfc4s8s_ids[] = {
+static struct pci_device_id hfc4s8s_ids[] __devinitdata = {
  	{.vendor = PCI_VENDOR_ID_CCD,
  	 .device = PCI_DEVICE_ID_4S,
  	 .subvendor = 0x1397,
drivers/isdn/hisax/hisax_fcpcipnp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/isdn/hisax/hisax_fcpcipnp.c linux/drivers/isdn/hisax/hisax_fcpcipnp.c
@@ -51,7 +51,7 @@
  MODULE_AUTHOR("Kai Germaschewski <[email protected]>/Karsten Keil <[email protected]>");
  MODULE_DESCRIPTION("AVM Fritz!PCI/PnP ISDN driver");
 
-static struct pci_device_id fcpci_ids[] = {
+static struct pci_device_id fcpci_ids[] __devinitdata = {
  	{ .vendor      = PCI_VENDOR_ID_AVM,
  	  .device      = PCI_DEVICE_ID_AVM_A1,
  	  .subvendor   = PCI_ANY_ID,
drivers/isdn/hysdn/hysdn_init.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/isdn/hysdn/hysdn_init.c linux/drivers/isdn/hysdn/hysdn_init.c
@@ -20,7 +20,7 @@
 
  #include "hysdn_defs.h"
 
-static struct pci_device_id hysdn_pci_tbl[] = {
+static struct pci_device_id hysdn_pci_tbl[] __devinitdata = {
  	{PCI_VENDOR_ID_HYPERCOPE, PCI_DEVICE_ID_HYPERCOPE_PLX, PCI_ANY_ID, PCI_SUBDEVICE_ID_HYPERCOPE_METRO},
  	{PCI_VENDOR_ID_HYPERCOPE, PCI_DEVICE_ID_HYPERCOPE_PLX, PCI_ANY_ID, PCI_SUBDEVICE_ID_HYPERCOPE_CHAMP2},
  	{PCI_VENDOR_ID_HYPERCOPE, PCI_DEVICE_ID_HYPERCOPE_PLX, PCI_ANY_ID, PCI_SUBDEVICE_ID_HYPERCOPE_ERGO},

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#10 lore raw

PATCH 1/1 Marking the pci_device_id tables of the input-subsys

In reply to Henne

From: Henrik Kretzschmar <[email protected]>

Marking the pci_device_id tables of the input-subsys as __devinitdata.

---

drivers/input/gameport/emu10k1-gp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/input/gameport/emu10k1-gp.c linux/drivers/input/gameport/emu10k1-gp.c
@@ -49,7 +49,7 @@
  	int size;
  };
 
-static struct pci_device_id emu_tbl[] = {
+static struct pci_device_id emu_tbl[] __devinitdata = {
 
  	{ 0x1102, 0x7002, PCI_ANY_ID, PCI_ANY_ID }, /* SB Live gameport */
  	{ 0x1102, 0x7003, PCI_ANY_ID, PCI_ANY_ID }, /* Audigy gameport */
drivers/input/gameport/fm801-gp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/input/gameport/fm801-gp.c linux/drivers/input/gameport/fm801-gp.c
@@ -132,7 +132,7 @@
  	}
  }
 
-static struct pci_device_id fm801_gp_id_table[] = {
+static struct pci_device_id fm801_gp_id_table[] __devinitdata = {
  	{ PCI_VENDOR_ID_FORTEMEDIA, PCI_DEVICE_ID_FM801_GP, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0  },
  	{ 0 }
  };
drivers/input/serio/pcips2.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/input/serio/pcips2.c linux/drivers/input/serio/pcips2.c
@@ -188,7 +188,7 @@
  	pci_disable_device(dev);
  }
 
-static struct pci_device_id pcips2_ids[] = {
+static struct pci_device_id pcips2_ids[] __devinitdata = {
  	{
  		.vendor		= 0x14f2,	/* MOBILITY */
  		.device		= 0x0123,	/* Keyboard */

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#11 lore raw

PATCH 1/1 Marking the pci_device_id tables of the

In reply to Henne

From: Henrik Kretzschmar <[email protected]>

Marking the pci_device_id tables of the infiniband-subsys as __devinitdata.

---

drivers/infiniband/hw/ipath/ipath_driver.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/infiniband/hw/ipath/ipath_driver.c linux/drivers/infiniband/hw/ipath/ipath_driver.c
@@ -115,7 +115,7 @@
  #define PCI_DEVICE_ID_INFINIPATH_HT 0xd
  #define PCI_DEVICE_ID_INFINIPATH_PE800 0x10
 
-static const struct pci_device_id ipath_pci_tbl[] = {
+static const struct pci_device_id ipath_pci_tbl[] __devinitdata = {
  	{PCI_DEVICE(PCI_VENDOR_ID_PATHSCALE,
  		    PCI_DEVICE_ID_INFINIPATH_HT)},
  	{PCI_DEVICE(PCI_VENDOR_ID_PATHSCALE,
drivers/infiniband/hw/mthca/mthca_main.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/infiniband/hw/mthca/mthca_main.c linux/drivers/infiniband/hw/mthca/mthca_main.c
@@ -1211,7 +1211,7 @@
  	}
  }
 
-static struct pci_device_id mthca_pci_table[] = {
+static struct pci_device_id mthca_pci_table[] __devinitdata = {
  	{ PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, PCI_DEVICE_ID_MELLANOX_TAVOR),
  	  .driver_data = TAVOR },
  	{ PCI_DEVICE(PCI_VENDOR_ID_TOPSPIN, PCI_DEVICE_ID_MELLANOX_TAVOR),

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#12 lore raw

PATCH 1/1 Marking the pci_device_id tables of the

In reply to Henne

From: Henrik Kretzschmar <[email protected]>

Marking the pci_device_id tables of the ieee1394-subsys as __devinitdata.

---

drivers/ieee1394/ohci1394.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/ieee1394/ohci1394.c linux/drivers/ieee1394/ohci1394.c
@@ -3564,7 +3564,7 @@
 
  #define PCI_CLASS_FIREWIRE_OHCI     ((PCI_CLASS_SERIAL_FIREWIRE << 8) | 0x10)
 
-static struct pci_device_id ohci1394_pci_tbl[] = {
+static struct pci_device_id ohci1394_pci_tbl[] __devinitdata = {
  	{
  		.class = 	PCI_CLASS_FIREWIRE_OHCI,
  		.class_mask = 	PCI_ANY_ID,
drivers/ieee1394/pcilynx.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/ieee1394/pcilynx.c linux/drivers/ieee1394/pcilynx.c
@@ -1519,7 +1519,7 @@
  }
 
 
-static struct pci_device_id pci_table[] = {
+static struct pci_device_id pci_table[] __devinitdata = {
  	{
                  .vendor =    PCI_VENDOR_ID_TI,
                  .device =    PCI_DEVICE_ID_TI_PCILYNX,

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#13 lore raw

PATCH 1/1 Marking the pci_device_id tables of the char-subsys as

In reply to Henne

From: Henrik Kretzschmar <[email protected]>

Marking the pci_device_id tables of the char-subsys as __devinitdata.

---

drivers/char/agp/ali-agp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/agp/ali-agp.c linux/drivers/char/agp/ali-agp.c
@@ -374,7 +374,7 @@
  	agp_put_bridge(bridge);
  }
 
-static struct pci_device_id agp_ali_pci_table[] = {
+static struct pci_device_id agp_ali_pci_table[] __devinitdata = {
  	{
  	.class		= (PCI_CLASS_BRIDGE_HOST << 8),
  	.class_mask	= ~0,
drivers/char/agp/amd64-agp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/agp/amd64-agp.c linux/drivers/char/agp/amd64-agp.c
@@ -622,7 +622,7 @@
 
  #endif /* CONFIG_PM */
 
-static struct pci_device_id agp_amd64_pci_table[] = {
+static struct pci_device_id agp_amd64_pci_table[] __devinitdata = {
  	{
  	.class		= (PCI_CLASS_BRIDGE_HOST << 8),
  	.class_mask	= ~0,
drivers/char/agp/amd-k7-agp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/agp/amd-k7-agp.c linux/drivers/char/agp/amd-k7-agp.c
@@ -484,7 +484,7 @@
  }
 
  /* must be the same order as name table above */
-static struct pci_device_id agp_amdk7_pci_table[] = {
+static struct pci_device_id agp_amdk7_pci_table[] __devinitdata = {
  	{
  	.class		= (PCI_CLASS_BRIDGE_HOST << 8),
  	.class_mask	= ~0,
drivers/char/agp/ati-agp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/agp/ati-agp.c linux/drivers/char/agp/ati-agp.c
@@ -526,7 +526,7 @@
  	agp_put_bridge(bridge);
  }
 
-static struct pci_device_id agp_ati_pci_table[] = {
+static struct pci_device_id agp_ati_pci_table[] __devinitdata = {
  	{
  	.class		= (PCI_CLASS_BRIDGE_HOST << 8),
  	.class_mask	= ~0,
drivers/char/agp/efficeon-agp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/agp/efficeon-agp.c linux/drivers/char/agp/efficeon-agp.c
@@ -420,7 +420,7 @@
  }
 
 
-static struct pci_device_id agp_efficeon_pci_table[] = {
+static struct pci_device_id agp_efficeon_pci_table[] __devinitdata = {
  	{
  	.class		= (PCI_CLASS_BRIDGE_HOST << 8),
  	.class_mask	= ~0,
drivers/char/agp/i460-agp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/agp/i460-agp.c linux/drivers/char/agp/i460-agp.c
@@ -607,7 +607,7 @@
  	agp_put_bridge(bridge);
  }
 
-static struct pci_device_id agp_intel_i460_pci_table[] = {
+static struct pci_device_id agp_intel_i460_pci_table[] __devinitdata = {
  	{
  	.class		= (PCI_CLASS_BRIDGE_HOST << 8),
  	.class_mask	= ~0,
drivers/char/agp/intel-agp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/agp/intel-agp.c linux/drivers/char/agp/intel-agp.c
@@ -1790,7 +1790,7 @@
  	return 0;
  }
 
-static struct pci_device_id agp_intel_pci_table[] = {
+static struct pci_device_id agp_intel_pci_table[] __devinitdata = {
  #define ID(x)						\
  	{						\
  	.class		= (PCI_CLASS_BRIDGE_HOST << 8),	\
drivers/char/agp/nvidia-agp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/agp/nvidia-agp.c linux/drivers/char/agp/nvidia-agp.c
@@ -376,7 +376,7 @@
  	agp_put_bridge(bridge);
  }
 
-static struct pci_device_id agp_nvidia_pci_table[] = {
+static struct pci_device_id agp_nvidia_pci_table[] __devinitdata = {
  	{
  	.class		= (PCI_CLASS_BRIDGE_HOST << 8),
  	.class_mask	= ~0,
drivers/char/agp/sis-agp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/agp/sis-agp.c linux/drivers/char/agp/sis-agp.c
@@ -317,7 +317,7 @@
  	agp_put_bridge(bridge);
  }
 
-static struct pci_device_id agp_sis_pci_table[] = {
+static struct pci_device_id agp_sis_pci_table[] __devinitdata = {
  	{
  	.class		= (PCI_CLASS_BRIDGE_HOST << 8),
  	.class_mask	= ~0,
drivers/char/agp/sworks-agp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/agp/sworks-agp.c linux/drivers/char/agp/sworks-agp.c
@@ -528,7 +528,7 @@
  	agp_put_bridge(bridge);
  }
 
-static struct pci_device_id agp_serverworks_pci_table[] = {
+static struct pci_device_id agp_serverworks_pci_table[] __devinitdata = {
  	{
  	.class		= (PCI_CLASS_BRIDGE_HOST << 8),
  	.class_mask	= ~0,
drivers/char/agp/uninorth-agp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/agp/uninorth-agp.c linux/drivers/char/agp/uninorth-agp.c
@@ -647,7 +647,7 @@
  	agp_put_bridge(bridge);
  }
 
-static struct pci_device_id agp_uninorth_pci_table[] = {
+static struct pci_device_id agp_uninorth_pci_table[] __devinitdata = {
  	{
  	.class		= (PCI_CLASS_BRIDGE_HOST << 8),
  	.class_mask	= ~0,
drivers/char/agp/via-agp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/agp/via-agp.c linux/drivers/char/agp/via-agp.c
@@ -479,7 +479,7 @@
  #endif /* CONFIG_PM */
 
  /* must be the same order as name table above */
-static struct pci_device_id agp_via_pci_table[] = {
+static struct pci_device_id agp_via_pci_table[] __devinitdata = {
  #define ID(x) \
  	{						\
  	.class		= (PCI_CLASS_BRIDGE_HOST << 8),	\
drivers/char/applicom.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/applicom.c linux/drivers/char/applicom.c
@@ -65,7 +65,7 @@
  	"PCI2000PFB"
  };
 
-static struct pci_device_id applicom_pci_tbl[] = {
+static struct pci_device_id applicom_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_APPLICOM, PCI_DEVICE_ID_APPLICOM_PCIGENERIC,
  	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
  	{ PCI_VENDOR_ID_APPLICOM, PCI_DEVICE_ID_APPLICOM_PCI2000IBS_CAN,
drivers/char/cs5535_gpio.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/cs5535_gpio.c linux/drivers/char/cs5535_gpio.c
@@ -39,7 +39,7 @@
 
  static u32 gpio_base;
 
-static struct pci_device_id divil_pci[] = {
+static struct pci_device_id divil_pci[] __devinitdata = {
  	{ PCI_DEVICE(PCI_VENDOR_ID_NS,  PCI_DEVICE_ID_NS_CS5535_ISA) },
  	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_ISA) },
  	{ } /* NULL entry */
drivers/char/drm/i810_drv.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/drm/i810_drv.c linux/drivers/char/drm/i810_drv.c
@@ -38,7 +38,7 @@
 
  #include "drm_pciids.h"
 
-static struct pci_device_id pciidlist[] = {
+static struct pci_device_id pciidlist[] __devinitdata = {
  	i810_PCI_IDS
  };
 
drivers/char/drm/i830_drv.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/drm/i830_drv.c linux/drivers/char/drm/i830_drv.c
@@ -40,7 +40,7 @@
 
  #include "drm_pciids.h"
 
-static struct pci_device_id pciidlist[] = {
+static struct pci_device_id pciidlist[] __devinitdata = {
  	i830_PCI_IDS
  };
 
drivers/char/drm/i915_drv.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/drm/i915_drv.c linux/drivers/char/drm/i915_drv.c
@@ -34,7 +34,7 @@
 
  #include "drm_pciids.h"
 
-static struct pci_device_id pciidlist[] = {
+static struct pci_device_id pciidlist[] __devinitdata = {
  	i915_PCI_IDS
  };
 
drivers/char/drm/mga_drv.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/drm/mga_drv.c linux/drivers/char/drm/mga_drv.c
@@ -39,7 +39,7 @@
 
  static int mga_driver_device_is_agp(drm_device_t * dev);
 
-static struct pci_device_id pciidlist[] = {
+static struct pci_device_id pciidlist[] __devinitdata = {
  	mga_PCI_IDS
  };
 
drivers/char/drm/r128_drv.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/drm/r128_drv.c linux/drivers/char/drm/r128_drv.c
@@ -37,7 +37,7 @@
 
  #include "drm_pciids.h"
 
-static struct pci_device_id pciidlist[] = {
+static struct pci_device_id pciidlist[] __devinitdata = {
  	r128_PCI_IDS
  };
 
drivers/char/drm/radeon_drv.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/drm/radeon_drv.c linux/drivers/char/drm/radeon_drv.c
@@ -53,7 +53,7 @@
  		        "r300"));
  }
 
-static struct pci_device_id pciidlist[] = {
+static struct pci_device_id pciidlist[] __devinitdata = {
  	radeon_PCI_IDS
  };
 
drivers/char/drm/savage_drv.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/drm/savage_drv.c linux/drivers/char/drm/savage_drv.c
@@ -30,7 +30,7 @@
 
  #include "drm_pciids.h"
 
-static struct pci_device_id pciidlist[] = {
+static struct pci_device_id pciidlist[] __devinitdata = {
  	savage_PCI_IDS
  };
 
drivers/char/drm/sis_drv.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/drm/sis_drv.c linux/drivers/char/drm/sis_drv.c
@@ -32,7 +32,7 @@
 
  #include "drm_pciids.h"
 
-static struct pci_device_id pciidlist[] = {
+static struct pci_device_id pciidlist[] __devinitdata = {
  	sisdrv_PCI_IDS
  };
 
drivers/char/drm/tdfx_drv.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/drm/tdfx_drv.c linux/drivers/char/drm/tdfx_drv.c
@@ -36,7 +36,7 @@
 
  #include "drm_pciids.h"
 
-static struct pci_device_id pciidlist[] = {
+static struct pci_device_id pciidlist[] __devinitdata = {
  	tdfx_PCI_IDS
  };
 
drivers/char/drm/via_drv.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/drm/via_drv.c linux/drivers/char/drm/via_drv.c
@@ -34,7 +34,7 @@
  	return snprintf(buf, PAGE_SIZE, "unichrome");
  }
 
-static struct pci_device_id pciidlist[] = {
+static struct pci_device_id pciidlist[] __devinitdata = {
  	viadrv_PCI_IDS
  };
 
drivers/char/epca.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/epca.c linux/drivers/char/epca.c
@@ -3090,7 +3090,7 @@
  }
 
 
-static struct pci_device_id epca_pci_tbl[] = {
+static struct pci_device_id epca_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_DIGI, PCI_DEVICE_XR, PCI_ANY_ID, PCI_ANY_ID, 0, 0, brd_xr },
  	{ PCI_VENDOR_DIGI, PCI_DEVICE_XEM, PCI_ANY_ID, PCI_ANY_ID, 0, 0, brd_xem },
  	{ PCI_VENDOR_DIGI, PCI_DEVICE_CX, PCI_ANY_ID, PCI_ANY_ID, 0, 0, brd_cx },
drivers/char/hw_random.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/hw_random.c linux/drivers/char/hw_random.c
@@ -165,7 +165,7 @@
   * register a pci_driver, because someone else might one day
   * want to register another driver on the same PCI id.
   */
-static struct pci_device_id rng_pci_tbl[] = {
+static struct pci_device_id rng_pci_tbl[] __devinitdata = {
  	{ 0x1022, 0x7443, PCI_ANY_ID, PCI_ANY_ID, 0, 0, rng_hw_amd },
  	{ 0x1022, 0x746b, PCI_ANY_ID, PCI_ANY_ID, 0, 0, rng_hw_amd },
 
drivers/char/ipmi/ipmi_si_intf.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/ipmi/ipmi_si_intf.c linux/drivers/char/ipmi/ipmi_si_intf.c
@@ -1905,7 +1905,7 @@
  }
  #endif
 
-static struct pci_device_id ipmi_pci_devices[] = {
+static struct pci_device_id ipmi_pci_devices[] __devinitdata = {
  	{ PCI_DEVICE(PCI_HP_VENDOR_ID, PCI_MMC_DEVICE_ID) },
  	{ PCI_DEVICE_CLASS(PCI_ERMC_CLASSCODE, PCI_ERMC_CLASSCODE) }
  };
drivers/char/isicom.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/isicom.c linux/drivers/char/isicom.c
@@ -148,7 +148,7 @@
  static int isicom_probe(struct pci_dev *, const struct pci_device_id *);
  static void __devexit isicom_remove(struct pci_dev *);
 
-static struct pci_device_id isicom_pci_tbl[] = {
+static struct pci_device_id isicom_pci_tbl[] __devinitdata = {
  	{ PCI_DEVICE(VENDOR_ID, 0x2028) },
  	{ PCI_DEVICE(VENDOR_ID, 0x2051) },
  	{ PCI_DEVICE(VENDOR_ID, 0x2052) },
drivers/char/istallion.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/istallion.c linux/drivers/char/istallion.c
@@ -418,7 +418,7 @@
  #define	PCI_DEVICE_ID_ECRA		0x0004
  #endif
 
-static struct pci_device_id istallion_pci_tbl[] = {
+static struct pci_device_id istallion_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_STALLION, PCI_DEVICE_ID_ECRA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
  	{ 0 }
  };
drivers/char/moxa.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/moxa.c linux/drivers/char/moxa.c
@@ -105,7 +105,7 @@
  };
 
  #ifdef CONFIG_PCI
-static struct pci_device_id moxa_pcibrds[] = {
+static struct pci_device_id moxa_pcibrds[] __devinitdata = {
  	{ PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_C218, PCI_ANY_ID, PCI_ANY_ID,
  	  0, 0, MOXA_BOARD_C218_PCI },
  	{ PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_C320, PCI_ANY_ID, PCI_ANY_ID,
drivers/char/mxser.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/mxser.c linux/drivers/char/mxser.c
@@ -204,7 +204,7 @@
 
  #ifdef CONFIG_PCI
 
-static struct pci_device_id mxser_pcibrds[] = {
+static struct pci_device_id mxser_pcibrds[] __devinitdata = {
  	{PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_C168, PCI_ANY_ID, PCI_ANY_ID, 0, 0, MXSER_BOARD_C168_PCI},
  	{PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_C104, PCI_ANY_ID, PCI_ANY_ID, 0, 0, MXSER_BOARD_C104_PCI},
  	{PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_MOXA_CP132, PCI_ANY_ID, PCI_ANY_ID, 0, 0, MXSER_BOARD_CP132},
drivers/char/sx.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/sx.c linux/drivers/char/sx.c
@@ -252,7 +252,7 @@
  #endif
 
  #ifdef CONFIG_PCI
-static struct pci_device_id sx_pci_tbl[] = {
+static struct pci_device_id sx_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_SPECIALIX, PCI_DEVICE_ID_SPECIALIX_SX_XIO_IO8, PCI_ANY_ID, PCI_ANY_ID },
  	{ 0 }
  };
drivers/char/synclink.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/synclink.c linux/drivers/char/synclink.c
@@ -905,7 +905,7 @@
  				     const struct pci_device_id *ent);
  static void synclink_remove_one (struct pci_dev *dev);
 
-static struct pci_device_id synclink_pci_tbl[] = {
+static struct pci_device_id synclink_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_MICROGATE, PCI_DEVICE_ID_MICROGATE_USC, PCI_ANY_ID, PCI_ANY_ID, },
  	{ PCI_VENDOR_ID_MICROGATE, 0x0210, PCI_ANY_ID, PCI_ANY_ID, },
  	{ 0, }, /* terminate list */
drivers/char/synclink_gt.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/synclink_gt.c linux/drivers/char/synclink_gt.c
@@ -99,7 +99,7 @@
  #define MGSL_MAGIC 0x5401
  #define MAX_DEVICES 12
 
-static struct pci_device_id pci_table[] = {
+static struct pci_device_id pci_table[] __devinitdata = {
  	{PCI_VENDOR_ID_MICROGATE, SYNCLINK_GT_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID,},
  	{PCI_VENDOR_ID_MICROGATE, SYNCLINK_GT4_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID,},
  	{PCI_VENDOR_ID_MICROGATE, SYNCLINK_AC_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID,},
drivers/char/synclinkmp.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/synclinkmp.c linux/drivers/char/synclinkmp.c
@@ -491,7 +491,7 @@
  static int synclinkmp_init_one(struct pci_dev *dev,const struct pci_device_id *ent);
  static void synclinkmp_remove_one(struct pci_dev *dev);
 
-static struct pci_device_id synclinkmp_pci_tbl[] = {
+static struct pci_device_id synclinkmp_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_MICROGATE, PCI_DEVICE_ID_MICROGATE_SCA, PCI_ANY_ID, PCI_ANY_ID, },
  	{ 0, }, /* terminate list */
  };
drivers/char/watchdog/alim1535_wdt.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/watchdog/alim1535_wdt.c linux/drivers/char/watchdog/alim1535_wdt.c
@@ -311,7 +311,7 @@
   *	want to register another driver on the same PCI id.
   */
 
-static struct pci_device_id ali_pci_tbl[] = {
+static struct pci_device_id ali_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_AL, 0x1535, PCI_ANY_ID, PCI_ANY_ID,},
  	{ 0, },
  };
drivers/char/watchdog/i6300esb.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/watchdog/i6300esb.c linux/drivers/char/watchdog/i6300esb.c
@@ -364,7 +364,7 @@
   * register a pci_driver, because someone else might one day
   * want to register another driver on the same PCI id.
   */
-static struct pci_device_id esb_pci_tbl[] = {
+static struct pci_device_id esb_pci_tbl[] __devinitdata = {
          { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ESB_9), },
          { 0, },                 /* End of list */
  };
drivers/char/watchdog/i8xx_tco.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/watchdog/i8xx_tco.c linux/drivers/char/watchdog/i8xx_tco.c
@@ -380,7 +380,7 @@
   * register a pci_driver, because someone else might one day
   * want to register another driver on the same PCI id.
   */
-static struct pci_device_id i8xx_tco_pci_tbl[] = {
+static struct pci_device_id i8xx_tco_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801AA_0,	PCI_ANY_ID, PCI_ANY_ID, },
  	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801AB_0,	PCI_ANY_ID, PCI_ANY_ID, },
  	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801BA_0,	PCI_ANY_ID, PCI_ANY_ID, },
drivers/char/watchdog/pcwd_pci.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/watchdog/pcwd_pci.c linux/drivers/char/watchdog/pcwd_pci.c
@@ -747,7 +747,7 @@
  	cards_found--;
  }
 
-static struct pci_device_id pcipcwd_pci_tbl[] = {
+static struct pci_device_id pcipcwd_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_QUICKLOGIC, PCI_DEVICE_ID_WATCHDOG_PCIPCWD,
  		PCI_ANY_ID, PCI_ANY_ID, },
  	{ 0 },			/* End of list */
drivers/char/watchdog/wdt_pci.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/char/watchdog/wdt_pci.c linux/drivers/char/watchdog/wdt_pci.c
@@ -698,7 +698,7 @@
  }
 
 
-static struct pci_device_id wdtpci_pci_tbl[] = {
+static struct pci_device_id wdtpci_pci_tbl[] __devinitdata = {
  	{
  		.vendor	   = PCI_VENDOR_ID_ACCESSIO,
  		.device	   = PCI_DEVICE_ID_WDG_CSM,

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

author
#14 lore raw

PATCH 1/1 Marking the pci_device_id tables of the scsi-subsys as

In reply to Henne

From: Henrik Kretzschmar <[email protected]>

Marking the pci_device_id tables of the scsi-subsys as __devinitdata.

---

drivers/scsi/a100u2w.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/a100u2w.c linux/drivers/scsi/a100u2w.c
@@ -1172,7 +1172,7 @@
  	scsi_host_put(shost);
  }
 
-static struct pci_device_id inia100_pci_tbl[] = {
+static struct pci_device_id inia100_pci_tbl[] __devinitdata = {
  	{PCI_VENDOR_ID_INIT, 0x1060, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
  	{0,}
  };
drivers/scsi/aacraid/linit.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/aacraid/linit.c linux/drivers/scsi/aacraid/linit.c
@@ -88,7 +88,7 @@
   *
   * Note: The last field is used to index into aac_drivers below.
   */
-static struct pci_device_id aac_pci_tbl[] = {
+static struct pci_device_id aac_pci_tbl[] __devinitdata = {
  	{ 0x1028, 0x0001, 0x1028, 0x0001, 0, 0, 0 }, /* PERC 2/Si (Iguana/PERC2Si) */
  	{ 0x1028, 0x0002, 0x1028, 0x0002, 0, 0, 1 }, /* PERC 3/Di (Opal/PERC3Di) */
  	{ 0x1028, 0x0003, 0x1028, 0x0003, 0, 0, 2 }, /* PERC 3/Si (SlimFast/PERC3Si */
drivers/scsi/ahci.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/ahci.c linux/drivers/scsi/ahci.c
@@ -257,7 +257,7 @@
  	},
  };
 
-static const struct pci_device_id ahci_pci_tbl[] = {
+static const struct pci_device_id ahci_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_INTEL, 0x2652, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
  	  board_ahci }, /* ICH6 */
  	{ PCI_VENDOR_ID_INTEL, 0x2653, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
drivers/scsi/aic7xxx/aic79xx_osm_pci.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/aic7xxx/aic79xx_osm_pci.c linux/drivers/scsi/aic7xxx/aic79xx_osm_pci.c
@@ -58,7 +58,7 @@
  	ID2C(x),         \
  	ID2C(IDIROC(x))
 
-static struct pci_device_id ahd_linux_pci_id_table[] = {
+static struct pci_device_id ahd_linux_pci_id_table[] __devinitdata = {
  	/* aic7901 based controllers */
  	ID(ID_AHA_29320A),
  	ID(ID_AHA_29320ALP),
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c linux/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
@@ -55,7 +55,7 @@
  */
  #define ID(x)	ID_C(x, PCI_CLASS_STORAGE_SCSI)
 
-static struct pci_device_id ahc_linux_pci_id_table[] = {
+static struct pci_device_id ahc_linux_pci_id_table[] __devinitdata = {
  	/* aic7850 based controllers */
  	ID(ID_AHA_2902_04_10_15_20C_30C),
  	/* aic7860 based controllers */
drivers/scsi/ata_piix.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/ata_piix.c linux/drivers/scsi/ata_piix.c
@@ -154,7 +154,7 @@
 
  static unsigned int in_module_init = 1;
 
-static const struct pci_device_id piix_pci_tbl[] = {
+static const struct pci_device_id piix_pci_tbl[] __devinitdata = {
  #ifdef ATA_ENABLE_PATA
  	{ 0x8086, 0x7111, PCI_ANY_ID, PCI_ANY_ID, 0, 0, piix4_pata },
  	{ 0x8086, 0x24db, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_pata },
drivers/scsi/atp870u.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/atp870u.c linux/drivers/scsi/atp870u.c
@@ -3238,7 +3238,7 @@
       .max_sectors		= ATP870U_MAX_SECTORS,
  };
 
-static struct pci_device_id atp870u_id_table[] = {
+static struct pci_device_id atp870u_id_table[] __devinitdata = {
  	{ PCI_DEVICE(PCI_VENDOR_ID_ARTOP, ATP885_DEVID)			  },
  	{ PCI_DEVICE(PCI_VENDOR_ID_ARTOP, ATP880_DEVID1)			  },
  	{ PCI_DEVICE(PCI_VENDOR_ID_ARTOP, ATP880_DEVID2)			  },
drivers/scsi/dc395x.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/dc395x.c linux/drivers/scsi/dc395x.c
@@ -4898,7 +4898,7 @@
  }
 
 
-static struct pci_device_id dc395x_pci_table[] = {
+static struct pci_device_id dc395x_pci_table[] __devinitdata = {
  	{
  		.vendor		= PCI_VENDOR_ID_TEKRAM,
  		.device		= PCI_DEVICE_ID_TEKRAM_TRMS1040,
drivers/scsi/dmx3191d.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/dmx3191d.c linux/drivers/scsi/dmx3191d.c
@@ -139,7 +139,7 @@
  	scsi_host_put(shost);
  }
 
-static struct pci_device_id dmx3191d_pci_tbl[] = {
+static struct pci_device_id dmx3191d_pci_tbl[] __devinitdata = {
  	{PCI_VENDOR_ID_DOMEX, PCI_DEVICE_ID_DOMEX_DMX3191D,
  		PCI_ANY_ID, PCI_ANY_ID, 0, 0, 4},
  	{ }
drivers/scsi/dpt_i2o.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/dpt_i2o.c linux/drivers/scsi/dpt_i2o.c
@@ -168,7 +168,7 @@
   *======================================
   */
 
-static struct pci_device_id dptids[] = {
+static struct pci_device_id dptids[] __devinitdata = {
  	{ PCI_DPT_VENDOR_ID, PCI_DPT_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID,},
  	{ PCI_DPT_VENDOR_ID, PCI_DPT_RAPTOR_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID,},
  	{ 0, }
drivers/scsi/lpfc/lpfc_init.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/lpfc/lpfc_init.c linux/drivers/scsi/lpfc/lpfc_init.c
@@ -1788,7 +1788,7 @@
  	pci_set_drvdata(pdev, NULL);
  }
 
-static struct pci_device_id lpfc_id_table[] = {
+static struct pci_device_id lpfc_id_table[] __devinitdata = {
  	{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_VIPER,
  		PCI_ANY_ID, PCI_ANY_ID, },
  	{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_FIREFLY,
drivers/scsi/megaraid/megaraid_mbox.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/megaraid/megaraid_mbox.c linux/drivers/scsi/megaraid/megaraid_mbox.c
@@ -209,7 +209,7 @@
  /*
   * PCI table for all supported controllers.
   */
-static struct pci_device_id pci_id_table_g[] =  {
+static struct pci_device_id pci_id_table_g[] __devinitdata = {
  	{
  		PCI_VENDOR_ID_DELL,
  		PCI_DEVICE_ID_PERC4_DI_DISCOVERY,
drivers/scsi/megaraid/megaraid_sas.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/megaraid/megaraid_sas.c linux/drivers/scsi/megaraid/megaraid_sas.c
@@ -51,7 +51,7 @@
  /*
   * PCI ID table for all supported controllers
   */
-static struct pci_device_id megasas_pci_table[] = {
+static struct pci_device_id megasas_pci_table[] __devinitdata = {
 
  	{
  	 PCI_VENDOR_ID_LSI_LOGIC,
drivers/scsi/megaraid.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/megaraid.c linux/drivers/scsi/megaraid.c
@@ -5038,7 +5038,7 @@
  	__megaraid_shutdown(adapter);
  }
 
-static struct pci_device_id megaraid_pci_tbl[] = {
+static struct pci_device_id megaraid_pci_tbl[] __devinitdata = {
  	{PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID,
  		PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
  	{PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID2,
drivers/scsi/pdc_adma.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/pdc_adma.c linux/drivers/scsi/pdc_adma.c
@@ -188,7 +188,7 @@
  	},
  };
 
-static const struct pci_device_id adma_ata_pci_tbl[] = {
+static const struct pci_device_id adma_ata_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_PDC, 0x1841, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
  	  board_1841_idx },
 
drivers/scsi/qla1280.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/qla1280.c linux/drivers/scsi/qla1280.c
@@ -579,7 +579,7 @@
  };
 
  /* NOTE: the last argument in each entry is used to index ql1280_board_tbl */
-static struct pci_device_id qla1280_pci_tbl[] = {
+static struct pci_device_id qla1280_pci_tbl[] __devinitdata = {
  	{PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP12160,
  		PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
  	{PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP1020,
drivers/scsi/qla2xxx/ql2100.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/qla2xxx/ql2100.c linux/drivers/scsi/qla2xxx/ql2100.c
@@ -37,7 +37,7 @@
  	.fw_info	= qla_fw_tbl,
  };
 
-static struct pci_device_id qla2100_pci_tbl[] = {
+static struct pci_device_id qla2100_pci_tbl[] __devinitdata = {
  	{
  		.vendor		= PCI_VENDOR_ID_QLOGIC,
  		.device		= PCI_DEVICE_ID_QLOGIC_ISP2100,
drivers/scsi/qla2xxx/ql2200.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/qla2xxx/ql2200.c linux/drivers/scsi/qla2xxx/ql2200.c
@@ -37,7 +37,7 @@
  	.fw_info	= qla_fw_tbl,
  };
 
-static struct pci_device_id qla2200_pci_tbl[] = {
+static struct pci_device_id qla2200_pci_tbl[] __devinitdata = {
  	{
  		.vendor		= PCI_VENDOR_ID_QLOGIC,
  		.device		= PCI_DEVICE_ID_QLOGIC_ISP2200,
drivers/scsi/qla2xxx/ql2300.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/qla2xxx/ql2300.c linux/drivers/scsi/qla2xxx/ql2300.c
@@ -47,7 +47,7 @@
  	},
  };
 
-static struct pci_device_id qla2300_pci_tbl[] = {
+static struct pci_device_id qla2300_pci_tbl[] __devinitdata = {
  	{
  		.vendor		= PCI_VENDOR_ID_QLOGIC,
  		.device		= PCI_DEVICE_ID_QLOGIC_ISP2300,
drivers/scsi/qla2xxx/ql2322.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/qla2xxx/ql2322.c linux/drivers/scsi/qla2xxx/ql2322.c
@@ -59,7 +59,7 @@
  	},
  };
 
-static struct pci_device_id qla2322_pci_tbl[] = {
+static struct pci_device_id qla2322_pci_tbl[] __devinitdata = {
  	{
  		.vendor		= PCI_VENDOR_ID_QLOGIC,
  		.device		= PCI_DEVICE_ID_QLOGIC_ISP2322,
drivers/scsi/qla2xxx/ql2400.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/qla2xxx/ql2400.c linux/drivers/scsi/qla2xxx/ql2400.c
@@ -63,7 +63,7 @@
  	},
  };
 
-static struct pci_device_id qla24xx_pci_tbl[] = {
+static struct pci_device_id qla24xx_pci_tbl[] __devinitdata = {
  	{
  		.vendor		= PCI_VENDOR_ID_QLOGIC,
  		.device		= PCI_DEVICE_ID_QLOGIC_ISP2422,
drivers/scsi/qla2xxx/qla_os.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/qla2xxx/qla_os.c linux/drivers/scsi/qla2xxx/qla_os.c
@@ -2668,7 +2668,7 @@
  	.drv_name       = "qla2xxx",
  };
 
-static struct pci_device_id qla2xxx_pci_tbl[] = {
+static struct pci_device_id qla2xxx_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2100,
  		PCI_ANY_ID, PCI_ANY_ID, },
  	{ PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2200,
drivers/scsi/sata_mv.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/sata_mv.c linux/drivers/scsi/sata_mv.c
@@ -525,7 +525,7 @@
  	},
  };
 
-static const struct pci_device_id mv_pci_tbl[] = {
+static const struct pci_device_id mv_pci_tbl[] __devinitdata = {
  	{PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x5040), 0, 0, chip_504x},
  	{PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x5041), 0, 0, chip_504x},
  	{PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x5080), 0, 0, chip_5080},
drivers/scsi/sata_nv.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/sata_nv.c linux/drivers/scsi/sata_nv.c
@@ -117,7 +117,7 @@
  	CK804
  };
 
-static const struct pci_device_id nv_pci_tbl[] = {
+static const struct pci_device_id nv_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE2S_SATA,
  		PCI_ANY_ID, PCI_ANY_ID, 0, 0, NFORCE2 },
  	{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE3S_SATA,
drivers/scsi/sata_promise.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/sata_promise.c linux/drivers/scsi/sata_promise.c
@@ -229,7 +229,7 @@
  	},
  };
 
-static const struct pci_device_id pdc_ata_pci_tbl[] = {
+static const struct pci_device_id pdc_ata_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_PROMISE, 0x3371, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
  	  board_2037x },
  	{ PCI_VENDOR_ID_PROMISE, 0x3570, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
drivers/scsi/sata_qstor.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/sata_qstor.c linux/drivers/scsi/sata_qstor.c
@@ -182,7 +182,7 @@
  	},
  };
 
-static const struct pci_device_id qs_ata_pci_tbl[] = {
+static const struct pci_device_id qs_ata_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_PDC, 0x2068, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
  	  board_2068_idx },
 
drivers/scsi/sata_sil24.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/sata_sil24.c linux/drivers/scsi/sata_sil24.c
@@ -260,7 +260,7 @@
  static void sil24_host_stop(struct ata_host_set *host_set);
  static int sil24_init_one(struct pci_dev *pdev, const struct pci_device_id *ent);
 
-static const struct pci_device_id sil24_pci_tbl[] = {
+static const struct pci_device_id sil24_pci_tbl[] __devinitdata = {
  	{ 0x1095, 0x3124, PCI_ANY_ID, PCI_ANY_ID, 0, 0, BID_SIL3124 },
  	{ 0x8086, 0x3124, PCI_ANY_ID, PCI_ANY_ID, 0, 0, BID_SIL3124 },
  	{ 0x1095, 0x3132, PCI_ANY_ID, PCI_ANY_ID, 0, 0, BID_SIL3132 },
drivers/scsi/sata_sil.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/sata_sil.c linux/drivers/scsi/sata_sil.c
@@ -98,7 +98,7 @@
  static void sil_post_set_mode (struct ata_port *ap);
 
 
-static const struct pci_device_id sil_pci_tbl[] = {
+static const struct pci_device_id sil_pci_tbl[] __devinitdata = {
  	{ 0x1095, 0x3112, PCI_ANY_ID, PCI_ANY_ID, 0, 0, sil_3112 },
  	{ 0x1095, 0x0240, PCI_ANY_ID, PCI_ANY_ID, 0, 0, sil_3112 },
  	{ 0x1095, 0x3512, PCI_ANY_ID, PCI_ANY_ID, 0, 0, sil_3512 },
drivers/scsi/sata_sis.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/sata_sis.c linux/drivers/scsi/sata_sis.c
@@ -67,7 +67,7 @@
  static u32 sis_scr_read (struct ata_port *ap, unsigned int sc_reg);
  static void sis_scr_write (struct ata_port *ap, unsigned int sc_reg, u32 val);
 
-static const struct pci_device_id sis_pci_tbl[] = {
+static const struct pci_device_id sis_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_SI, 0x180, PCI_ANY_ID, PCI_ANY_ID, 0, 0, sis_180 },
  	{ PCI_VENDOR_ID_SI, 0x181, PCI_ANY_ID, PCI_ANY_ID, 0, 0, sis_180 },
  	{ PCI_VENDOR_ID_SI, 0x182, PCI_ANY_ID, PCI_ANY_ID, 0, 0, sis_180 },
drivers/scsi/sata_svw.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/sata_svw.c linux/drivers/scsi/sata_svw.c
@@ -465,7 +465,7 @@
   * 0x24a is device ID for BCM5785 (aka HT1000) HT southbridge integrated SATA
   * controller
   * */
-static const struct pci_device_id k2_sata_pci_tbl[] = {
+static const struct pci_device_id k2_sata_pci_tbl[] __devinitdata = {
  	{ 0x1166, 0x0240, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 4 },
  	{ 0x1166, 0x0241, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 4 },
  	{ 0x1166, 0x0242, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 8 },
drivers/scsi/sata_sx4.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/sata_sx4.c linux/drivers/scsi/sata_sx4.c
@@ -227,7 +227,7 @@
 
  };
 
-static const struct pci_device_id pdc_sata_pci_tbl[] = {
+static const struct pci_device_id pdc_sata_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_PROMISE, 0x6622, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
  	  board_20621 },
  	{ }	/* terminate list */
drivers/scsi/sata_uli.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/sata_uli.c linux/drivers/scsi/sata_uli.c
@@ -61,7 +61,7 @@
  static u32 uli_scr_read (struct ata_port *ap, unsigned int sc_reg);
  static void uli_scr_write (struct ata_port *ap, unsigned int sc_reg, u32 val);
 
-static const struct pci_device_id uli_pci_tbl[] = {
+static const struct pci_device_id uli_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_AL, 0x5289, PCI_ANY_ID, PCI_ANY_ID, 0, 0, uli_5289 },
  	{ PCI_VENDOR_ID_AL, 0x5287, PCI_ANY_ID, PCI_ANY_ID, 0, 0, uli_5287 },
  	{ PCI_VENDOR_ID_AL, 0x5281, PCI_ANY_ID, PCI_ANY_ID, 0, 0, uli_5281 },
drivers/scsi/sata_via.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/sata_via.c linux/drivers/scsi/sata_via.c
@@ -75,7 +75,7 @@
  static u32 svia_scr_read (struct ata_port *ap, unsigned int sc_reg);
  static void svia_scr_write (struct ata_port *ap, unsigned int sc_reg, u32 val);
 
-static const struct pci_device_id svia_pci_tbl[] = {
+static const struct pci_device_id svia_pci_tbl[] __devinitdata = {
  	{ 0x1106, 0x3149, PCI_ANY_ID, PCI_ANY_ID, 0, 0, vt6420 },
  	{ 0x1106, 0x3249, PCI_ANY_ID, PCI_ANY_ID, 0, 0, vt6421 },
 
drivers/scsi/sata_vsc.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/sata_vsc.c linux/drivers/scsi/sata_vsc.c
@@ -437,7 +437,7 @@
   * 0x8086/0x3200 is the Intel 31244, which is supposed to be identical
   * compatibility is untested as of yet
   */
-static const struct pci_device_id vsc_sata_pci_tbl[] = {
+static const struct pci_device_id vsc_sata_pci_tbl[] __devinitdata = {
  	{ 0x1725, 0x7174, PCI_ANY_ID, PCI_ANY_ID, 0x10600, 0xFFFFFF, 0 },
  	{ 0x8086, 0x3200, PCI_ANY_ID, PCI_ANY_ID, 0x10600, 0xFFFFFF, 0 },
  	{ }
drivers/scsi/tmscsim.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/scsi/tmscsim.c linux/drivers/scsi/tmscsim.c
@@ -2645,7 +2645,7 @@
  	pci_set_drvdata(dev, NULL);
  }
 
-static struct pci_device_id tmscsim_pci_tbl[] = {
+static struct pci_device_id tmscsim_pci_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD53C974,
  		PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
  	{ }

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors