Skip to contentSkip to conversation

terminate PCI ID tables of CAN drivers

PATCH New Jan Kiszka 1 participant 1 message Dec 29, 2007

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 terminate PCI ID tables of CAN drivers

Hi Wolfgang,

interesting, 2.6.24 started to complain about this. This is just FYI, I already committed it to trunk and 2.4.x.

Jan

ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c +1 -0
Index: xenomai/ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c
===================================================================
@@ -74,6 +74,7 @@
 
 static struct pci_device_id ixxat_pci_tbl[] = {
 	{IXXAT_PCI_VENDOR_ID, IXXAT_PCI_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+	{ }
 };
 MODULE_DEVICE_TABLE (pci, ixxat_pci_tbl);
 
ksrc/drivers/can/sja1000/rtcan_peak_pci.c +1 -0
Index: xenomai/ksrc/drivers/can/sja1000/rtcan_peak_pci.c
===================================================================
@@ -78,6 +78,7 @@
 
 static struct pci_device_id peak_pci_tbl[] = {
 	{PEAK_PCI_VENDOR_ID, PEAK_PCI_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+	{ }
 };
 MODULE_DEVICE_TABLE (pci, peak_pci_tbl);
 
ksrc/drivers/can/sja1000/rtcan_ems_pci.c +1 -0
Index: xenomai/ksrc/drivers/can/sja1000/rtcan_ems_pci.c
===================================================================
@@ -98,6 +98,7 @@
 static struct pci_device_id ems_pci_tbl[] = {
 	{EMS_PCI_VENDOR_ID, EMS_PCI_DEVICE_ID,
 	 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+	{ }
 };
 MODULE_DEVICE_TABLE (pci, ems_pci_tbl);