USB: whci-hcd: fix compiler warning
authorNamhyung Kim <namhyung@gmail.com>
Mon, 6 Dec 2010 16:03:32 +0000 (01:03 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 22:18:35 +0000 (14:18 -0800)
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>
drivers/usb/host/whci/hcd.c

index 72b6892..9546f6c 100644 (file)
@@ -356,7 +356,7 @@ static void __exit whci_hc_driver_exit(void)
 module_exit(whci_hc_driver_exit);
 
 /* PCI device ID's that we handle (so it gets loaded) */
-static struct pci_device_id whci_hcd_id_table[] = {
+static struct pci_device_id __used whci_hcd_id_table[] = {
        { PCI_DEVICE_CLASS(PCI_CLASS_WIRELESS_WHCI, ~0) },
        { /* empty last entry */ }
 };