projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ab6a1f
)
net: ksz884x: use DEFINE_PCI_DEVICE_TABLE
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 22 Oct 2013 03:01:47 +0000
(12:01 +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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/ksz884x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/micrel/ksz884x.c
b/drivers/net/ethernet/micrel/ksz884x.c
index 6462dc5191efaea5202f51e767842da842981097..ddd252a3da9c023794e0bde418d689d87cb4b8c4 100644
(file)
--- a/
drivers/net/ethernet/micrel/ksz884x.c
+++ b/
drivers/net/ethernet/micrel/ksz884x.c
@@
-7225,7
+7225,7
@@
static int pcidev_suspend(struct pci_dev *pdev, pm_message_t state)
static char pcidev_name[] = "ksz884xp";
-static
struct pci_device_id pcidev_table[]
= {
+static
DEFINE_PCI_DEVICE_TABLE(pcidev_table)
= {
{ PCI_VENDOR_ID_MICREL_KS, 0x8841,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_MICREL_KS, 0x8842,