mirror of https://gitee.com/openkylin/linux.git
staging: rts5139: make thrts5139_usb_idse local variable static in rts51x.c
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>
This commit is contained in:
parent
884715f34a
commit
d2a276700c
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue