diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-12-07 11:27:36 -0500 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2011-01-12 05:24:11 -0500 |
commit | a787e71068d7c2e438d8a5a38a7e1385389819f0 (patch) | |
tree | 2a311cb3b663c75b1df153391cf5185bc6e137ee /drivers/watchdog/alim7101_wdt.c | |
parent | 202af5b307b0ccdad5e960a1f87fac322d8cdb02 (diff) |
watchdog: alim7101_wdt: fix compiler warning on alim7101_pci_tbl
Annotate alim7101_pci_tbl as '__used' to fix following warning:
CC drivers/watchdog/alim7101_wdt.o
drivers/watchdog/alim7101_wdt.c:433: warning: ‘alim7101_pci_tbl’ defined but not used
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/alim7101_wdt.c')
-rw-r--r-- | drivers/watchdog/alim7101_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/alim7101_wdt.c b/drivers/watchdog/alim7101_wdt.c index d8d4da9a483d..4b7a2b4138ed 100644 --- a/drivers/watchdog/alim7101_wdt.c +++ b/drivers/watchdog/alim7101_wdt.c | |||
@@ -430,7 +430,7 @@ err_out: | |||
430 | module_init(alim7101_wdt_init); | 430 | module_init(alim7101_wdt_init); |
431 | module_exit(alim7101_wdt_unload); | 431 | module_exit(alim7101_wdt_unload); |
432 | 432 | ||
433 | static struct pci_device_id alim7101_pci_tbl[] __devinitdata = { | 433 | static struct pci_device_id alim7101_pci_tbl[] __devinitdata __used = { |
434 | { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533) }, | 434 | { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533) }, |
435 | { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101) }, | 435 | { PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101) }, |
436 | { } | 436 | { } |