mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
202af5b307
commit
a787e71068
|
@ -430,7 +430,7 @@ static int __init alim7101_wdt_init(void)
|
||||||
module_init(alim7101_wdt_init);
|
module_init(alim7101_wdt_init);
|
||||||
module_exit(alim7101_wdt_unload);
|
module_exit(alim7101_wdt_unload);
|
||||||
|
|
||||||
static struct pci_device_id alim7101_pci_tbl[] __devinitdata = {
|
static struct pci_device_id alim7101_pci_tbl[] __devinitdata __used = {
|
||||||
{ PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533) },
|
{ PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533) },
|
||||||
{ PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101) },
|
{ PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101) },
|
||||||
{ }
|
{ }
|
||||||
|
|
Loading…
Reference in New Issue