projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/net/: use DEFINE_PCI_DEVICE_TABLE()
[cascardo/linux.git]
/
drivers
/
net
/
yellowfin.c
diff --git
a/drivers/net/yellowfin.c
b/drivers/net/yellowfin.c
index
0f773a9
..
8b231b3
100644
(file)
--- a/
drivers/net/yellowfin.c
+++ b/
drivers/net/yellowfin.c
@@
-237,7
+237,7
@@
static const struct pci_id_info pci_id_tbl[] = {
{ }
};
-static
const struct pci_device_id yellowfin_pci_tbl[]
= {
+static
DEFINE_PCI_DEVICE_TABLE(yellowfin_pci_tbl)
= {
{ 0x1000, 0x0702, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ 0x1000, 0x0701, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1 },
{ }