OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46adcf3
)
usb: chipidea: remove DEFINE_PCI_DEVICE_TABLE macro
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 28 Nov 2013 05:15:26 +0000
(14:15 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 18:22:52 +0000
(10:22 -0800)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci_hdrc_pci.c
patch
|
blob
|
history
diff --git
a/drivers/usb/chipidea/ci_hdrc_pci.c
b/drivers/usb/chipidea/ci_hdrc_pci.c
index
d514332
..
241ae34
100644
(file)
--- a/
drivers/usb/chipidea/ci_hdrc_pci.c
+++ b/
drivers/usb/chipidea/ci_hdrc_pci.c
@@
-112,7
+112,7
@@
static void ci_hdrc_pci_remove(struct pci_dev *pdev)
*
* Check "pci.h" for details
*/
-static
DEFINE_PCI_DEVICE_TABLE(ci_hdrc_pci_id_table)
= {
+static
const struct pci_device_id ci_hdrc_pci_id_table[]
= {
{
PCI_DEVICE(0x153F, 0x1004),
.driver_data = (kernel_ulong_t)&pci_platdata,