projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eb850c
)
net: tulip: use DEFINE_PCI_DEVICE_TABLE
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 22 Oct 2013 03:00:30 +0000
(12:00 +0900)
committer
David S. Miller
<davem@davemloft.net>
Tue, 22 Oct 2013 06:19:23 +0000
(
02:19
-0400)
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/dec/tulip/de4x5.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/dec/tulip/de4x5.c
b/drivers/net/ethernet/dec/tulip/de4x5.c
index
263b92c
..
c05b66d
100644
(file)
--- a/
drivers/net/ethernet/dec/tulip/de4x5.c
+++ b/
drivers/net/ethernet/dec/tulip/de4x5.c
@@
-2328,7
+2328,7
@@
static void de4x5_pci_remove(struct pci_dev *pdev)
pci_disable_device (pdev);
}
-static
struct pci_device_id de4x5_pci_tbl[]
= {
+static
DEFINE_PCI_DEVICE_TABLE(de4x5_pci_tbl)
= {
{ PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP_PLUS,