summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/alim1535_wdt.c
diff options
context:
space:
mode:
authorJingoo Han2013-12-03 00:30:22 +0100
committerWim Van Sebroeck2014-01-28 19:07:07 +0100
commitbc17f9dcb11dfe7a5f02103da51f580d62a6df2c (patch)
tree7ba8d1b2e0bd8f639aef7a36566da31f5711767d /drivers/watchdog/alim1535_wdt.c
parentMerge tag 'microblaze-3.14-rc1' of git://git.monstr.eu/linux-2.6-microblaze (diff)
downloadkernel-qcow2-linux-bc17f9dcb11dfe7a5f02103da51f580d62a6df2c.tar.gz
kernel-qcow2-linux-bc17f9dcb11dfe7a5f02103da51f580d62a6df2c.tar.xz
kernel-qcow2-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/alim1535_wdt.c')
-rw-r--r--drivers/watchdog/alim1535_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/alim1535_wdt.c b/drivers/watchdog/alim1535_wdt.c
index fbb7b94cabfd..3a17fbd39f8a 100644
--- a/drivers/watchdog/alim1535_wdt.c
+++ b/drivers/watchdog/alim1535_wdt.c
@@ -301,7 +301,7 @@ static int ali_notify_sys(struct notifier_block *this,
* want to register another driver on the same PCI id.
*/
-static DEFINE_PCI_DEVICE_TABLE(ali_pci_tbl) __used = {
+static const struct pci_device_id ali_pci_tbl[] __used = {
{ PCI_VENDOR_ID_AL, 0x1533, PCI_ANY_ID, PCI_ANY_ID,},
{ PCI_VENDOR_ID_AL, 0x1535, PCI_ANY_ID, PCI_ANY_ID,},
{ 0, },