Skip to content

Commit 4e065b8

Browse files
Jingoo Hangregkh
authored andcommitted
usb: chipidea: remove DEFINE_PCI_DEVICE_TABLE macro
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 46adcf3 commit 4e065b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/chipidea/ci_hdrc_pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static void ci_hdrc_pci_remove(struct pci_dev *pdev)
112112
*
113113
* Check "pci.h" for details
114114
*/
115-
static DEFINE_PCI_DEVICE_TABLE(ci_hdrc_pci_id_table) = {
115+
static const struct pci_device_id ci_hdrc_pci_id_table[] = {
116116
{
117117
PCI_DEVICE(0x153F, 0x1004),
118118
.driver_data = (kernel_ulong_t)&pci_platdata,

0 commit comments

Comments
 (0)