uwb: fix compiler warning on i1480_est_id_table
authorNamhyung Kim <namhyung@gmail.com>
Wed, 1 Dec 2010 20:52:22 +0000 (05:52 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Dec 2010 20:06:04 +0000 (12:06 -0800)
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>
drivers/uwb/i1480/i1480-est.c

index f2eb4d8b76c9b34abf3b117f6ee2f93997440780..d5de5e131d4794e345523293b9dde55ed4c78e93 100644 (file)
@@ -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), },
        { },