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

USB: whci-hcd: fix compiler warning

Annotate whci_hcd_id_table as '__used' to fix following warning:

CC drivers/usb/host/whci/hcd.o
drivers/usb/host/whci/hcd.c:359: warning: ‘whci_hcd_id_table’ defined but not used

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Namhyung Kim and committed by
Greg Kroah-Hartman
8170344c fe4bfb30

+1 -1
+1 -1
drivers/usb/host/whci/hcd.c
··· 356 356 module_exit(whci_hc_driver_exit); 357 357 358 358 /* PCI device ID's that we handle (so it gets loaded) */ 359 - static struct pci_device_id whci_hcd_id_table[] = { 359 + static struct pci_device_id __used whci_hcd_id_table[] = { 360 360 { PCI_DEVICE_CLASS(PCI_CLASS_WIRELESS_WHCI, ~0) }, 361 361 { /* empty last entry */ } 362 362 };