Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Namhyung Kim <namhyung@gmail.com>
Cc: Roger Wolff <R.E.Wolff@BitWizard.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Namhyung Kim and committed by
Greg Kroah-Hartman
fd0f5c54 6835a209

+1 -1
+1 -1
drivers/char/specialix.c
··· 2356 2356 func_exit(); 2357 2357 } 2358 2358 2359 - static struct pci_device_id specialx_pci_tbl[] __devinitdata = { 2359 + static struct pci_device_id specialx_pci_tbl[] __devinitdata __used = { 2360 2360 { PCI_DEVICE(PCI_VENDOR_ID_SPECIALIX, PCI_DEVICE_ID_SPECIALIX_IO8) }, 2361 2361 { } 2362 2362 };