summaryrefslogtreecommitdiff
path: root/drivers/watchdog/wdt_pci.c
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2011-02-21 15:16:44 +0300
committerWim Van Sebroeck <wim@iguana.be>2011-03-15 19:02:22 +0300
commit4562f53940432369df88e195ef8f9b642bdf7cd6 (patch)
tree6bd0fa13d63f33db387716895710d00ab7c7f57d /drivers/watchdog/wdt_pci.c
parent066d6c7f4ec94d40d13061714489783916548cdb (diff)
downloadlinux-4562f53940432369df88e195ef8f9b642bdf7cd6.tar.xz
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/wdt_pci.c')
-rw-r--r--drivers/watchdog/wdt_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/wdt_pci.c b/drivers/watchdog/wdt_pci.c
index 6130c88fa5ac..97bb6fbdcf56 100644
--- a/drivers/watchdog/wdt_pci.c
+++ b/drivers/watchdog/wdt_pci.c
@@ -727,7 +727,7 @@ static void __devexit wdtpci_remove_one(struct pci_dev *pdev)
}
-static struct pci_device_id wdtpci_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(wdtpci_pci_tbl) = {
{
.vendor = PCI_VENDOR_ID_ACCESSIO,
.device = PCI_DEVICE_ID_ACCESSIO_WDG_CSM,