Skip to contentSkip to conversation

Marking pci_device_id tables in arch/i386 as

PATCH New Henne 1 participant 1 message Apr 26, 2006 Kernel janitors

lore
Share & tools
lore

Henne

author
#0 lore raw

PATCH 1/1 Marking pci_device_id tables in arch/i386 as

From: Henrik Kretzschmar <[email protected]>

Marking pci_device_id tables in arch/i386 as __devinitdata.

---

arch/i386/kernel/cpu/cpufreq/gx-suspmod.c +1 -1
diff -ruN linux-2.6.17-rc2/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c linux/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
@@ -166,7 +166,7 @@
  /****************************************************************
   *	Low Level chipset interface				*
   ****************************************************************/
-static struct pci_device_id gx_chipset_tbl[] __initdata = {
+static struct pci_device_id gx_chipset_tbl[] __devinitdata = {
  	{ PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5530_LEGACY, PCI_ANY_ID, PCI_ANY_ID },
  	{ PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5520, PCI_ANY_ID, PCI_ANY_ID },
  	{ PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5510, PCI_ANY_ID, PCI_ANY_ID },
arch/i386/kernel/cpu/cyrix.c +1 -1
diff -ruN linux-2.6.17-rc2/arch/i386/kernel/cpu/cyrix.c linux/arch/i386/kernel/cpu/cyrix.c
@@ -184,7 +184,7 @@
 
 
  #ifdef CONFIG_PCI
-static struct pci_device_id cyrix_55x0[] = {
+static struct pci_device_id cyrix_55x0[] __devinitdata = {
  	{ PCI_DEVICE(PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5510) },
  	{ PCI_DEVICE(PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5520) },
  	{ },
arch/i386/kernel/scx200.c +1 -1
diff -ruN linux-2.6.17-rc2/arch/i386/kernel/scx200.c linux/arch/i386/kernel/scx200.c
@@ -28,7 +28,7 @@
 
  unsigned scx200_cb_base = 0;
 
-static struct pci_device_id scx200_tbl[] = {
+static struct pci_device_id scx200_tbl[] __devinitdata = {
  	{ PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) },
  	{ PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) },
  	{ PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_XBUS)   },

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