projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
782df20
)
usb: gadget: pch_udc: remove DEFINE_PCI_DEVICE_TABLE macro
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 28 Nov 2013 05:16:09 +0000
(14:16 +0900)
committer
Felipe Balbi
<balbi@ti.com>
Fri, 6 Dec 2013 19:47:03 +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/gadget/pch_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/pch_udc.c
b/drivers/usb/gadget/pch_udc.c
index 32d5e923750b017a479d394e51ba09c991c8ef4d..78a3d9289816956b90eee811023fca9da4c2a3eb 100644
(file)
--- a/
drivers/usb/gadget/pch_udc.c
+++ b/
drivers/usb/gadget/pch_udc.c
@@
-3210,7
+3210,7
@@
finished:
return retval;
}
-static
DEFINE_PCI_DEVICE_TABLE(pch_udc_pcidev_id)
= {
+static
const struct pci_device_id pch_udc_pcidev_id[]
= {
{
PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EG20T_UDC),
.class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe,