projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25d8015
)
usb: dwc3: pci: remove DEFINE_PCI_DEVICE_TABLE macro
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 28 Nov 2013 05:15:46 +0000
(14:15 +0900)
committer
Felipe Balbi
<balbi@ti.com>
Fri, 6 Dec 2013 19:47:02 +0000
(13:47 -0600)
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is not preferred.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-pci.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/dwc3-pci.c
b/drivers/usb/dwc3/dwc3-pci.c
index 31443aeedcdbf374a6d663e69087ba18f9c37612..665686e7c8cd4342afe150a53dcf3603dac8fe5d 100644
(file)
--- a/
drivers/usb/dwc3/dwc3-pci.c
+++ b/
drivers/usb/dwc3/dwc3-pci.c
@@
-182,7
+182,7
@@
static void dwc3_pci_remove(struct pci_dev *pci)
pci_disable_device(pci);
}
-static
DEFINE_PCI_DEVICE_TABLE(dwc3_pci_id_table)
= {
+static
const struct pci_device_id dwc3_pci_id_table[]
= {
{
PCI_DEVICE(PCI_VENDOR_ID_SYNOPSYS,
PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3),