projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1435db4
)
usb: amd5536udc: use the DEFINE_PCI_DEVICE_TABLE macro
author
Cyril Roelandt
<tipecaml@gmail.com>
Sat, 25 Feb 2012 01:15:00 +0000
(
02:15
+0100)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 27 Feb 2012 14:34:12 +0000
(16:34 +0200)
Use DEFINE_PCI_DEVICE_TABLE instead of "const struct pci_device_id".
Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/amd5536udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/amd5536udc.c
b/drivers/usb/gadget/amd5536udc.c
index
ad72ab7
..
d28bc24
100644
(file)
--- a/
drivers/usb/gadget/amd5536udc.c
+++ b/
drivers/usb/gadget/amd5536udc.c
@@
-3406,7
+3406,7
@@
static int udc_remote_wakeup(struct udc *dev)
}
/* PCI device parameters */
-static
const struct pci_device_id pci_id[]
= {
+static
DEFINE_PCI_DEVICE_TABLE(pci_id)
= {
{
PCI_DEVICE(PCI_VENDOR_ID_AMD, 0x2096),
.class = (PCI_CLASS_SERIAL_USB << 8) | 0xfe,