diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2011-02-21 07:16:44 -0500 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2011-03-15 12:02:22 -0400 |
commit | 4562f53940432369df88e195ef8f9b642bdf7cd6 (patch) | |
tree | 6bd0fa13d63f33db387716895710d00ab7c7f57d /drivers/watchdog/pcwd_pci.c | |
parent | 066d6c7f4ec94d40d13061714489783916548cdb (diff) |
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.c | 2 |
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) | |||
817 | cards_found--; | 817 | cards_found--; |
818 | } | 818 | } |
819 | 819 | ||
820 | static struct pci_device_id pcipcwd_pci_tbl[] = { | 820 | static DEFINE_PCI_DEVICE_TABLE(pcipcwd_pci_tbl) = { |
821 | { PCI_VENDOR_ID_QUICKLOGIC, PCI_DEVICE_ID_WATCHDOG_PCIPCWD, | 821 | { PCI_VENDOR_ID_QUICKLOGIC, PCI_DEVICE_ID_WATCHDOG_PCIPCWD, |
822 | PCI_ANY_ID, PCI_ANY_ID, }, | 822 | PCI_ANY_ID, PCI_ANY_ID, }, |
823 | { 0 }, /* End of list */ | 823 | { 0 }, /* End of list */ |