diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-02 23:30:22 (GMT) |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-01-28 18:07:07 (GMT) |
commit | bc17f9dcb11dfe7a5f02103da51f580d62a6df2c (patch) | |
tree | 7ba8d1b2e0bd8f639aef7a36566da31f5711767d /drivers/watchdog/via_wdt.c | |
parent | 627f4b3ee3899bb70263ee77454a43c73136562f (diff) | |
download | linux-bc17f9dcb11dfe7a5f02103da51f580d62a6df2c.tar.xz |
watchdog: 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 <jg1.han@samsung.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/via_wdt.c')
-rw-r--r-- | drivers/watchdog/via_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/via_wdt.c b/drivers/watchdog/via_wdt.c index 1a68f76..d2cd9f0 100644 --- a/drivers/watchdog/via_wdt.c +++ b/drivers/watchdog/via_wdt.c @@ -239,7 +239,7 @@ static void wdt_remove(struct pci_dev *pdev) pci_disable_device(pdev); } -static DEFINE_PCI_DEVICE_TABLE(wdt_pci_table) = { +static const struct pci_device_id wdt_pci_table[] = { { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_CX700) }, { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX800) }, { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX855) }, |