summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/whc-rc.c
diff options
context:
space:
mode:
authorNamhyung Kim2010-12-01 21:52:21 +0100
committerGreg Kroah-Hartman2010-12-03 21:06:03 +0100
commitfc33b0eb38ccbd3080a4885e8f742a72a085261d (patch)
tree364eb7c26655274bfc472559a0de96b947d83ead /drivers/uwb/whc-rc.c
parentusb: g_audio: Fix crash at driver removal (diff)
downloadkernel-qcow2-linux-fc33b0eb38ccbd3080a4885e8f742a72a085261d.tar.gz
kernel-qcow2-linux-fc33b0eb38ccbd3080a4885e8f742a72a085261d.tar.xz
kernel-qcow2-linux-fc33b0eb38ccbd3080a4885e8f742a72a085261d.zip
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/whc-rc.c')
-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 */ }
};