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/hpwdt.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/hpwdt.c')
-rw-r--r-- | drivers/watchdog/hpwdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index 204a5603c4ae..8cb26855bfed 100644 --- a/drivers/watchdog/hpwdt.c +++ b/drivers/watchdog/hpwdt.c | |||
@@ -52,7 +52,7 @@ static void __iomem *pci_mem_addr; /* the PCI-memory address */ | |||
52 | static unsigned long __iomem *hpwdt_timer_reg; | 52 | static unsigned long __iomem *hpwdt_timer_reg; |
53 | static unsigned long __iomem *hpwdt_timer_con; | 53 | static unsigned long __iomem *hpwdt_timer_con; |
54 | 54 | ||
55 | static struct pci_device_id hpwdt_devices[] = { | 55 | static DEFINE_PCI_DEVICE_TABLE(hpwdt_devices) = { |
56 | { PCI_DEVICE(PCI_VENDOR_ID_COMPAQ, 0xB203) }, /* iLO2 */ | 56 | { PCI_DEVICE(PCI_VENDOR_ID_COMPAQ, 0xB203) }, /* iLO2 */ |
57 | { PCI_DEVICE(PCI_VENDOR_ID_HP, 0x3306) }, /* iLO3 */ | 57 | { PCI_DEVICE(PCI_VENDOR_ID_HP, 0x3306) }, /* iLO3 */ |
58 | {0}, /* terminate list */ | 58 | {0}, /* terminate list */ |