Skip to content

Commit

Permalink
watchdog: via_wdt: Staticise wdt_pci_table
Browse files Browse the repository at this point in the history
It is only used in this driver, so no need to make the symbol global.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Marc Vertes <marc.vertes@sigfox.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
Axel Lin authored and Wim Van Sebroeck committed Jan 27, 2012
1 parent 12c583d commit 0318e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/via_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) },
Expand Down

0 comments on commit 0318e28

Please sign in to comment.