diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-03 00:30:22 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-01-28 19:07:07 +0100 |
commit | bc17f9dcb11dfe7a5f02103da51f580d62a6df2c (patch) | |
tree | 7ba8d1b2e0bd8f639aef7a36566da31f5711767d /drivers/watchdog/wdt_pci.c | |
parent | Merge tag 'microblaze-3.14-rc1' of git://git.monstr.eu/linux-2.6-microblaze (diff) | |
download | linux-bc17f9dcb11dfe7a5f02103da51f580d62a6df2c.tar.xz linux-bc17f9dcb11dfe7a5f02103da51f580d62a6df2c.zip |
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/wdt_pci.c')
-rw-r--r-- | drivers/watchdog/wdt_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/wdt_pci.c b/drivers/watchdog/wdt_pci.c index ee89ba4dea63..3dc578e71211 100644 --- a/drivers/watchdog/wdt_pci.c +++ b/drivers/watchdog/wdt_pci.c @@ -720,7 +720,7 @@ static void wdtpci_remove_one(struct pci_dev *pdev) } -static DEFINE_PCI_DEVICE_TABLE(wdtpci_pci_tbl) = { +static const struct pci_device_id wdtpci_pci_tbl[] = { { .vendor = PCI_VENDOR_ID_ACCESSIO, .device = PCI_DEVICE_ID_ACCESSIO_WDG_CSM, |