From: Jingoo Han Date: Mon, 2 Dec 2013 23:00:27 +0000 (+0900) Subject: bcma: pci: remove DEFINE_PCI_DEVICE_TABLE macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=342a11e1459bb5a053b60ae248e3b78d4da79395;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git bcma: pci: 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 Signed-off-by: John W. Linville --- diff --git a/drivers/bcma/host_pci.c b/drivers/bcma/host_pci.c index 12a4ff751359..e333305363aa 100644 --- a/drivers/bcma/host_pci.c +++ b/drivers/bcma/host_pci.c @@ -269,7 +269,7 @@ static SIMPLE_DEV_PM_OPS(bcma_pm_ops, bcma_host_pci_suspend, #endif /* CONFIG_PM_SLEEP */ -static DEFINE_PCI_DEVICE_TABLE(bcma_pci_bridge_tbl) = { +static const struct pci_device_id bcma_pci_bridge_tbl[] = { { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x0576) }, { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4313) }, { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 43224) },