usb: chipidea: remove DEFINE_PCI_DEVICE_TABLE macro
authorJingoo Han <jg1.han@samsung.com>
Thu, 28 Nov 2013 05:15:26 +0000 (14:15 +0900)
committerGreg 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

index d514332ac0811c9fec55a40253b3c526d19cde6d..241ae3444fde92a2927e372493a2432cb066bc7a 100644 (file)
@@ -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,