staging: rts5139: make thrts5139_usb_idse local variable static in rts51x.c
authorAna Rey <anarey@gmail.com>
Thu, 13 Mar 2014 09:53:13 +0000 (10:53 +0100)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Mon, 17 Mar 2014 00:41:07 +0000 (17:41 -0700)
Make the local variable rts5139_usb_ids static

Fix the following sparse warnings in rts51x.c

CHECK   drivers/staging/rts5139/rts51x.c
drivers/staging/rts5139/rts51x.c:835:22: warning: symbol 'rts5139_usb_ids' was not declared. Should it be static?

Signed-off-by: Ana Rey <anarey@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/staging/rts5139/rts51x.c

index c1a50702e1f813c431a8ed3fe2c0749460b074a9..c8d06d4fddd2a96016b43a77bc69e800c50003cc 100644 (file)
@@ -832,7 +832,7 @@ static void rts51x_disconnect(struct usb_interface *intf)
  * Initialization and registration
  ***********************************************************************/
 
-struct usb_device_id rts5139_usb_ids[] = {
+static struct usb_device_id rts5139_usb_ids[] = {
        {USB_DEVICE(0x0BDA, 0x0139)},
        {USB_DEVICE(0x0BDA, 0x0129)},
        {}                      /* Terminating entry */