uwb: fix compiler warning on whcrc_id_table
authorNamhyung Kim <namhyung@gmail.com>
Wed, 1 Dec 2010 20:52:21 +0000 (05:52 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Dec 2010 20:06:03 +0000 (12:06 -0800)
Annotate whcrc_id_table as '__used' to fix following warning:

  CC      drivers/uwb/whc-rc.o
drivers/uwb/whc-rc.c:452: warning: ‘whcrc_id_table’ defined but not used

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/uwb/whc-rc.c

index 7349558..70a004a 100644 (file)
@@ -449,7 +449,7 @@ static int whcrc_post_reset(struct umc_dev *umc)
 }
 
 /* PCI device ID's that we handle [so it gets loaded] */
-static struct pci_device_id whcrc_id_table[] = {
+static struct pci_device_id __used whcrc_id_table[] = {
        { PCI_DEVICE_CLASS(PCI_CLASS_WIRELESS_WHCI, ~0) },
        { /* empty last entry */ }
 };