summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/i6300esb.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-03 08:30:22 +0900
committerWim Van Sebroeck <wim@iguana.be>2014-01-28 19:07:07 +0100
commitbc17f9dcb11dfe7a5f02103da51f580d62a6df2c (patch)
tree7ba8d1b2e0bd8f639aef7a36566da31f5711767d /drivers/watchdog/i6300esb.c
parent627f4b3ee3899bb70263ee77454a43c73136562f (diff)
downloadop-kernel-dev-bc17f9dcb11dfe7a5f02103da51f580d62a6df2c.zip
op-kernel-dev-bc17f9dcb11dfe7a5f02103da51f580d62a6df2c.tar.gz
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/i6300esb.c')
-rw-r--r--drivers/watchdog/i6300esb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/i6300esb.c b/drivers/watchdog/i6300esb.c
index a72fe93..25a2bfd 100644
--- a/drivers/watchdog/i6300esb.c
+++ b/drivers/watchdog/i6300esb.c
@@ -334,7 +334,7 @@ static struct miscdevice esb_miscdev = {
/*
* Data for PCI driver interface
*/
-static DEFINE_PCI_DEVICE_TABLE(esb_pci_tbl) = {
+static const struct pci_device_id esb_pci_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ESB_9), },
{ 0, }, /* End of list */
};
OpenPOWER on IntegriCloud