Commit fd0f5c54 authored by Namhyung Kim's avatar Namhyung Kim Committed by Greg Kroah-Hartman

specialix: fix compiler warning on specialix_pci_tbl

Annotate specialx_pci_tbl as '__used' to fix following warning:

  CC      drivers/char/specialix.o
drivers/char/specialix.c:2358: warning: ‘specialx_pci_tbl’ defined but not used
Signed-off-by: default avatarNamhyung Kim <namhyung@gmail.com>
Cc: Roger Wolff <R.E.Wolff@BitWizard.nl>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6835a209
...@@ -2356,7 +2356,7 @@ static void __exit specialix_exit_module(void) ...@@ -2356,7 +2356,7 @@ static void __exit specialix_exit_module(void)
func_exit(); func_exit();
} }
static struct pci_device_id specialx_pci_tbl[] __devinitdata = { static struct pci_device_id specialx_pci_tbl[] __devinitdata __used = {
{ PCI_DEVICE(PCI_VENDOR_ID_SPECIALIX, PCI_DEVICE_ID_SPECIALIX_IO8) }, { PCI_DEVICE(PCI_VENDOR_ID_SPECIALIX, PCI_DEVICE_ID_SPECIALIX_IO8) },
{ } { }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment