diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-12-02 05:52:21 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-03 12:06:03 -0800 |
commit | fc33b0eb38ccbd3080a4885e8f742a72a085261d (patch) | |
tree | 364eb7c26655274bfc472559a0de96b947d83ead /drivers/uwb | |
parent | df4fedeaa623f6af0b72c0089000b5ea5540ed22 (diff) | |
download | blackbird-op-linux-fc33b0eb38ccbd3080a4885e8f742a72a085261d.tar.gz blackbird-op-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')
-rw-r--r-- | drivers/uwb/whc-rc.c | 2 |
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 */ } }; |