diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-03 08:30:22 +0900 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-01-28 19:07:07 +0100 |
commit | bc17f9dcb11dfe7a5f02103da51f580d62a6df2c (patch) | |
tree | 7ba8d1b2e0bd8f639aef7a36566da31f5711767d /drivers/watchdog/alim7101_wdt.c | |
parent | 627f4b3ee3899bb70263ee77454a43c73136562f (diff) | |
download | lwn-bc17f9dcb11dfe7a5f02103da51f580d62a6df2c.tar.gz lwn-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/alim7101_wdt.c')
-rw-r--r-- | drivers/watchdog/alim7101_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/alim7101_wdt.c b/drivers/watchdog/alim7101_wdt.c index 12f0b762b528..996b2f7d330e 100644 --- a/drivers/watchdog/alim7101_wdt.c +++ b/drivers/watchdog/alim7101_wdt.c @@ -414,7 +414,7 @@ err_out: module_init(alim7101_wdt_init); module_exit(alim7101_wdt_unload); -static DEFINE_PCI_DEVICE_TABLE(alim7101_pci_tbl) __used = { +static const struct pci_device_id alim7101_pci_tbl[] __used = { { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533) }, { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101) }, { } |