projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: convert to DEFINE_PCI_DEVICE_TABLE
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
watchdog
/
wdt_pci.c
diff --git
a/drivers/watchdog/wdt_pci.c
b/drivers/watchdog/wdt_pci.c
index 6130c88fa5acac85387d0544c7ea53b7d92fca68..97bb6fbdcf56c8a6b8e3ca723157503e03363897 100644
(file)
--- 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,