Messages in this thread Patch in this message | | | From | Jingoo Han <> | Subject | [PATCH 24/39] ptp: ptp_pch: remove DEFINE_PCI_DEVICE_TABLE macro | Date | Tue, 03 Dec 2013 08:23:04 +0900 |
| |
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred.
Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/ptp/ptp_pch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ptp/ptp_pch.c b/drivers/ptp/ptp_pch.c index 71a2559..4c9578a 100644 --- a/drivers/ptp/ptp_pch.c +++ b/drivers/ptp/ptp_pch.c @@ -690,7 +690,7 @@ err_pci_en: return ret; } -static DEFINE_PCI_DEVICE_TABLE(pch_ieee1588_pcidev_id) = { +static const struct pci_device_id pch_ieee1588_pcidev_id[] = { { .vendor = PCI_VENDOR_ID_INTEL, .device = PCI_DEVICE_ID_PCH_1588 -- 1.7.10.4
| |