Skip to contentSkip to conversation

__devinitdata in serial subsys

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

lore
Share & tools
lore

Henne

author
#0 lore raw

PATCH 1/1 __devinitdata in serial subsys

From: Henrik Kretzschmar <[email protected]>

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

---

drivers/serial/8250_pci.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/serial/8250_pci.c linux/drivers/serial/8250_pci.c
@@ -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,
drivers/serial/icom.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/serial/icom.c linux/drivers/serial/icom.c
@@ -70,7 +70,7 @@
  #define ICOM_PORT ((struct icom_port *)port)
  #define to_icom_adapter(d) container_of(d, struct icom_adapter, kobj)
 
-static const struct pci_device_id icom_pci_table[] = {
+static const struct pci_device_id icom_pci_table[] __devinitdata = {
  	{
  	      .vendor = PCI_VENDOR_ID_IBM,
  	      .device = PCI_DEVICE_ID_IBM_ICOM_DEV_ID_1,
drivers/serial/jsm/jsm_driver.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/serial/jsm/jsm_driver.c linux/drivers/serial/jsm/jsm_driver.c
@@ -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 },
drivers/serial/serial_txx9.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/serial/serial_txx9.c linux/drivers/serial/serial_txx9.c
@@ -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