Skip to contentSkip to conversation

__devinitdata for hwmon-subsys

PATCH New Henne 1 participant 1 message Apr 26, 2006

Subsystems (3)
lore
Share & tools
lore

Henne

author
#0 lore raw

PATCH 1/1 __devinitdata for hwmon-subsys

From: Henrik Kretzschmar <[email protected]>

Marking the pci_device tables of hwmon-subsys as __devinitdata.

---

drivers/hwmon/sis5595.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/hwmon/sis5595.c linux/drivers/hwmon/sis5595.c
@@ -713,7 +713,7 @@
  	return data;
  }
 
-static struct pci_device_id sis5595_pci_ids[] = {
+static struct pci_device_id sis5595_pci_ids[] __devinitdata = {
  	{ PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503) },
  	{ 0, }
  };
drivers/hwmon/via686a.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/hwmon/via686a.c linux/drivers/hwmon/via686a.c
@@ -794,7 +794,7 @@
  	return data;
  }
 
-static struct pci_device_id via686a_pci_ids[] = {
+static struct pci_device_id via686a_pci_ids[] __devinitdata = {
  	{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_4) },
  	{ 0, }
  };
drivers/hwmon/vt8231.c +1 -1
diff -urN linux-2.6.17-rc2/drivers/hwmon/vt8231.c linux/drivers/hwmon/vt8231.c
@@ -593,7 +593,7 @@
  	.detach_client	= vt8231_detach_client,
  };
 
-static struct pci_device_id vt8231_pci_ids[] = {
+static struct pci_device_id vt8231_pci_ids[] __devinitdata = {
  	{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8231_4) },
  	{ 0, }
  };

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