projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7668a49
)
8139cp: use PCI_DEVICE() to shorten the PCI device table
author
Francois Romieu
<romieu@fr.zoreil.com>
Wed, 16 Aug 2006 11:07:18 +0000
(13:07 +0200)
committer
Francois Romieu
<romieu@fr.zoreil.com>
Thu, 31 Aug 2006 20:15:43 +0000
(22:15 +0200)
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/8139cp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/8139cp.c
b/drivers/net/8139cp.c
index a123d28113cd168c48ad841594c389216aedd6ed..bbdaa18879abf83aa6c068191747d2804a64761d 100644
(file)
--- a/
drivers/net/8139cp.c
+++ b/
drivers/net/8139cp.c
@@
-406,10
+406,8
@@
static int cp_set_eeprom(struct net_device *dev,
struct ethtool_eeprom *eeprom, u8 *data);
static struct pci_device_id cp_pci_tbl[] = {
- { PCI_VENDOR_ID_REALTEK, PCI_DEVICE_ID_REALTEK_8139,
- PCI_ANY_ID, PCI_ANY_ID, 0, 0, },
- { PCI_VENDOR_ID_TTTECH, PCI_DEVICE_ID_TTTECH_MC322,
- PCI_ANY_ID, PCI_ANY_ID, 0, 0, },
+ { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, PCI_DEVICE_ID_REALTEK_8139), },
+ { PCI_DEVICE(PCI_VENDOR_ID_TTTECH, PCI_DEVICE_ID_TTTECH_MC322), },
{ },
};
MODULE_DEVICE_TABLE(pci, cp_pci_tbl);