aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2006-08-16 07:07:18 -0400
committerFrancois Romieu <romieu@fr.zoreil.com>2006-08-31 16:15:43 -0400
commitcccb20d3a9b7c6d4b6e1b52ee02814e6094aaa12 (patch)
tree17ed3c7a4f9b818692af55f38da30f7c801f13ed /drivers
parent7668a4945ba0e17a61e535a6c67aa64a319a03b4 (diff)
8139cp: use PCI_DEVICE() to shorten the PCI device table
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/8139cp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/8139cp.c b/drivers/net/8139cp.c
index a123d28113cd..bbdaa18879ab 100644
--- a/drivers/net/8139cp.c
+++ b/drivers/net/8139cp.c
@@ -406,10 +406,8 @@ static int cp_set_eeprom(struct net_device *dev,
406 struct ethtool_eeprom *eeprom, u8 *data); 406 struct ethtool_eeprom *eeprom, u8 *data);
407 407
408static struct pci_device_id cp_pci_tbl[] = { 408static struct pci_device_id cp_pci_tbl[] = {
409 { PCI_VENDOR_ID_REALTEK, PCI_DEVICE_ID_REALTEK_8139, 409 { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, PCI_DEVICE_ID_REALTEK_8139), },
410 PCI_ANY_ID, PCI_ANY_ID, 0, 0, }, 410 { PCI_DEVICE(PCI_VENDOR_ID_TTTECH, PCI_DEVICE_ID_TTTECH_MC322), },
411 { PCI_VENDOR_ID_TTTECH, PCI_DEVICE_ID_TTTECH_MC322,
412 PCI_ANY_ID, PCI_ANY_ID, 0, 0, },
413 { }, 411 { },
414}; 412};
415MODULE_DEVICE_TABLE(pci, cp_pci_tbl); 413MODULE_DEVICE_TABLE(pci, cp_pci_tbl);