projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12c583d
)
watchdog: via_wdt: Staticise wdt_pci_table
author
Axel Lin
<
[email protected]
>
Sat, 14 Jan 2012 11:34:34 +0000
(19:34 +0800)
committer
Wim Van Sebroeck
<
[email protected]
>
Fri, 27 Jan 2012 08:54:12 +0000
(09:54 +0100)
It is only used in this driver, so no need to make the symbol global.
Signed-off-by: Axel Lin <
[email protected]
>
Acked-by: Marc Vertes <
[email protected]
>
Signed-off-by: Wim Van Sebroeck <
[email protected]
>
drivers/watchdog/via_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/via_wdt.c
b/drivers/watchdog/via_wdt.c
index 026b4bbfa0aa2a0fd783ad178a261f0f3744738a..8b24b000062eee59ab92d844a783d68e2d81747e 100644
(file)
--- a/
drivers/watchdog/via_wdt.c
+++ b/
drivers/watchdog/via_wdt.c
@@
-233,7
+233,7
@@
static void __devexit wdt_remove(struct pci_dev *pdev)
pci_disable_device(pdev);
}
-DEFINE_PCI_DEVICE_TABLE(wdt_pci_table) = {
+
static
DEFINE_PCI_DEVICE_TABLE(wdt_pci_table) = {
{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_CX700) },
{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX800) },
{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX855) },