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/iTCO_wdt.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/iTCO_wdt.c')
-rw-r--r-- | drivers/watchdog/iTCO_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c index 2c6c2b4ad8bf..db0f5b85ba5f 100644 --- a/drivers/watchdog/iTCO_wdt.c +++ b/drivers/watchdog/iTCO_wdt.c | |||
@@ -262,7 +262,7 @@ static struct { | |||
262 | * pci_driver, because the I/O Controller Hub has also other | 262 | * pci_driver, because the I/O Controller Hub has also other |
263 | * functions that probably will be registered by other drivers. | 263 | * functions that probably will be registered by other drivers. |
264 | */ | 264 | */ |
265 | static struct pci_device_id iTCO_wdt_pci_tbl[] = { | 265 | static DEFINE_PCI_DEVICE_TABLE(iTCO_wdt_pci_tbl) = { |
266 | { ITCO_PCI_DEVICE(PCI_DEVICE_ID_INTEL_82801AA_0, TCO_ICH)}, | 266 | { ITCO_PCI_DEVICE(PCI_DEVICE_ID_INTEL_82801AA_0, TCO_ICH)}, |
267 | { ITCO_PCI_DEVICE(PCI_DEVICE_ID_INTEL_82801AB_0, TCO_ICH0)}, | 267 | { ITCO_PCI_DEVICE(PCI_DEVICE_ID_INTEL_82801AB_0, TCO_ICH0)}, |
268 | { ITCO_PCI_DEVICE(PCI_DEVICE_ID_INTEL_82801BA_0, TCO_ICH2)}, | 268 | { ITCO_PCI_DEVICE(PCI_DEVICE_ID_INTEL_82801BA_0, TCO_ICH2)}, |