diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-12-01 15:52:21 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-03 15:06:03 -0500 |
commit | fc33b0eb38ccbd3080a4885e8f742a72a085261d (patch) | |
tree | 364eb7c26655274bfc472559a0de96b947d83ead /drivers/uwb | |
parent | df4fedeaa623f6af0b72c0089000b5ea5540ed22 (diff) |
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) | |||
449 | } | 449 | } |
450 | 450 | ||
451 | /* PCI device ID's that we handle [so it gets loaded] */ | 451 | /* PCI device ID's that we handle [so it gets loaded] */ |
452 | static struct pci_device_id whcrc_id_table[] = { | 452 | static struct pci_device_id __used whcrc_id_table[] = { |
453 | { PCI_DEVICE_CLASS(PCI_CLASS_WIRELESS_WHCI, ~0) }, | 453 | { PCI_DEVICE_CLASS(PCI_CLASS_WIRELESS_WHCI, ~0) }, |
454 | { /* empty last entry */ } | 454 | { /* empty last entry */ } |
455 | }; | 455 | }; |