summaryrefslogtreecommitdiff
path: root/drivers/uwb
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-12-02 05:52:22 +0900
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-03 12:06:04 -0800
commit16350a7258a3158807f3fafe33f1bb22b8ddd127 (patch)
tree8184116b0ac461dcf9837852dce8342662471a50 /drivers/uwb
parentfc33b0eb38ccbd3080a4885e8f742a72a085261d (diff)
downloadlwn-16350a7258a3158807f3fafe33f1bb22b8ddd127.tar.gz
lwn-16350a7258a3158807f3fafe33f1bb22b8ddd127.zip
uwb: fix compiler warning on i1480_est_id_table
Annotate i1480_est_id_table as '__used' to fix following warning: CC drivers/uwb/i1480/i1480-est.o drivers/uwb/i1480/i1480-est.c:94: warning: ‘i1480_est_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/i1480/i1480-est.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uwb/i1480/i1480-est.c b/drivers/uwb/i1480/i1480-est.c
index f2eb4d8b76c9..d5de5e131d47 100644
--- a/drivers/uwb/i1480/i1480-est.c
+++ b/drivers/uwb/i1480/i1480-est.c
@@ -91,7 +91,7 @@ MODULE_LICENSE("GPL");
*
* [so we are loaded when this kind device is connected]
*/
-static struct usb_device_id i1480_est_id_table[] = {
+static struct usb_device_id __used i1480_est_id_table[] = {
{ USB_DEVICE(0x8086, 0xdf3b), },
{ USB_DEVICE(0x8086, 0x0c3b), },
{ },