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/sp5100_tco.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/sp5100_tco.c')
-rw-r--r-- | drivers/watchdog/sp5100_tco.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/sp5100_tco.c b/drivers/watchdog/sp5100_tco.c index 808372883e88..1bc493848ed4 100644 --- a/drivers/watchdog/sp5100_tco.c +++ b/drivers/watchdog/sp5100_tco.c | |||
@@ -259,7 +259,7 @@ static struct miscdevice sp5100_tco_miscdev = { | |||
259 | * register a pci_driver, because someone else might | 259 | * register a pci_driver, because someone else might |
260 | * want to register another driver on the same PCI id. | 260 | * want to register another driver on the same PCI id. |
261 | */ | 261 | */ |
262 | static struct pci_device_id sp5100_tco_pci_tbl[] = { | 262 | static DEFINE_PCI_DEVICE_TABLE(sp5100_tco_pci_tbl) = { |
263 | { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS, PCI_ANY_ID, | 263 | { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS, PCI_ANY_ID, |
264 | PCI_ANY_ID, }, | 264 | PCI_ANY_ID, }, |
265 | { 0, }, /* End of list */ | 265 | { 0, }, /* End of list */ |