diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2011-02-21 13:16:44 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2011-03-15 17:02:22 +0100 |
commit | 4562f53940432369df88e195ef8f9b642bdf7cd6 (patch) | |
tree | 6bd0fa13d63f33db387716895710d00ab7c7f57d /drivers/watchdog/sp5100_tco.c | |
parent | watchdog: Xen watchdog driver (diff) | |
download | linux-4562f53940432369df88e195ef8f9b642bdf7cd6.tar.xz linux-4562f53940432369df88e195ef8f9b642bdf7cd6.zip |
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 = { * register a pci_driver, because someone else might * want to register another driver on the same PCI id. */ -static struct pci_device_id sp5100_tco_pci_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE(sp5100_tco_pci_tbl) = { { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS, PCI_ANY_ID, PCI_ANY_ID, }, { 0, }, /* End of list */ |