summaryrefslogtreecommitdiff
path: root/drivers/uwb
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-12-01 23:52:21 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-03 23:06:03 +0300
commitfc33b0eb38ccbd3080a4885e8f742a72a085261d (patch)
tree364eb7c26655274bfc472559a0de96b947d83ead /drivers/uwb
parentdf4fedeaa623f6af0b72c0089000b5ea5540ed22 (diff)
downloadlinux-fc33b0eb38ccbd3080a4885e8f742a72a085261d.tar.xz
uwb: fix compiler warning on whcrc_id_table
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>
Diffstat (limited to 'drivers/uwb')
-rw-r--r--drivers/uwb/whc-rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uwb/whc-rc.c b/drivers/uwb/whc-rc.c
index 73495583c444..70a004aa19db 100644
--- a/drivers/uwb/whc-rc.c
+++ b/drivers/uwb/whc-rc.c
@@ -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 */ }
};