summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/pcwd_pci.c
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2011-02-21 12:16:44 +0000
committerWim Van Sebroeck <wim@iguana.be>2011-03-15 16:02:22 +0000
commit4562f53940432369df88e195ef8f9b642bdf7cd6 (patch)
tree6bd0fa13d63f33db387716895710d00ab7c7f57d /drivers/watchdog/pcwd_pci.c
parent066d6c7f4ec94d40d13061714489783916548cdb (diff)
downloadblackbird-op-linux-4562f53940432369df88e195ef8f9b642bdf7cd6.tar.gz
blackbird-op-linux-4562f53940432369df88e195ef8f9b642bdf7cd6.zip
watchdog: convert to DEFINE_PCI_DEVICE_TABLE
Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE tables. Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/pcwd_pci.c')
-rw-r--r--drivers/watchdog/pcwd_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/pcwd_pci.c b/drivers/watchdog/pcwd_pci.c
index 64374d636f09..b8d14f88f0b5 100644
--- a/drivers/watchdog/pcwd_pci.c
+++ b/drivers/watchdog/pcwd_pci.c
@@ -817,7 +817,7 @@ static void __devexit pcipcwd_card_exit(struct pci_dev *pdev)
cards_found--;
}
-static struct pci_device_id pcipcwd_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(pcipcwd_pci_tbl) = {
{ PCI_VENDOR_ID_QUICKLOGIC, PCI_DEVICE_ID_WATCHDOG_PCIPCWD,
PCI_ANY_ID, PCI_ANY_ID, },
{ 0 }, /* End of list */
OpenPOWER on IntegriCloud