diff options
Diffstat (limited to 'drivers/net/can')
-rw-r--r-- | drivers/net/can/sja1000/ems_pci.c | 2 | ||||
-rw-r--r-- | drivers/net/can/sja1000/kvaser_pci.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/can/sja1000/ems_pci.c b/drivers/net/can/sja1000/ems_pci.c index fd04789d3370..87300606abb9 100644 --- a/drivers/net/can/sja1000/ems_pci.c +++ b/drivers/net/can/sja1000/ems_pci.c | |||
@@ -102,7 +102,7 @@ struct ems_pci_card { | |||
102 | 102 | ||
103 | #define EMS_PCI_BASE_SIZE 4096 /* size of controller area */ | 103 | #define EMS_PCI_BASE_SIZE 4096 /* size of controller area */ |
104 | 104 | ||
105 | static struct pci_device_id ems_pci_tbl[] = { | 105 | static DEFINE_PCI_DEVICE_TABLE(ems_pci_tbl) = { |
106 | /* CPC-PCI v1 */ | 106 | /* CPC-PCI v1 */ |
107 | {PCI_VENDOR_ID_SIEMENS, 0x2104, PCI_ANY_ID, PCI_ANY_ID,}, | 107 | {PCI_VENDOR_ID_SIEMENS, 0x2104, PCI_ANY_ID, PCI_ANY_ID,}, |
108 | /* CPC-PCI v2 */ | 108 | /* CPC-PCI v2 */ |
diff --git a/drivers/net/can/sja1000/kvaser_pci.c b/drivers/net/can/sja1000/kvaser_pci.c index 7dd7769b9713..441e776a7f59 100644 --- a/drivers/net/can/sja1000/kvaser_pci.c +++ b/drivers/net/can/sja1000/kvaser_pci.c | |||
@@ -109,7 +109,7 @@ struct kvaser_pci { | |||
109 | #define KVASER_PCI_VENDOR_ID2 0x1a07 /* the PCI device and vendor IDs */ | 109 | #define KVASER_PCI_VENDOR_ID2 0x1a07 /* the PCI device and vendor IDs */ |
110 | #define KVASER_PCI_DEVICE_ID2 0x0008 | 110 | #define KVASER_PCI_DEVICE_ID2 0x0008 |
111 | 111 | ||
112 | static struct pci_device_id kvaser_pci_tbl[] = { | 112 | static DEFINE_PCI_DEVICE_TABLE(kvaser_pci_tbl) = { |
113 | {KVASER_PCI_VENDOR_ID1, KVASER_PCI_DEVICE_ID1, PCI_ANY_ID, PCI_ANY_ID,}, | 113 | {KVASER_PCI_VENDOR_ID1, KVASER_PCI_DEVICE_ID1, PCI_ANY_ID, PCI_ANY_ID,}, |
114 | {KVASER_PCI_VENDOR_ID2, KVASER_PCI_DEVICE_ID2, PCI_ANY_ID, PCI_ANY_ID,}, | 114 | {KVASER_PCI_VENDOR_ID2, KVASER_PCI_DEVICE_ID2, PCI_ANY_ID, PCI_ANY_ID,}, |
115 | { 0,} | 115 | { 0,} |