Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ana Rey and committed by
Peter P Waskiewicz Jr
d2a27670 884715f3

+1 -1
+1 -1
drivers/staging/rts5139/rts51x.c
··· 832 832 * Initialization and registration 833 833 ***********************************************************************/ 834 834 835 - struct usb_device_id rts5139_usb_ids[] = { 835 + static struct usb_device_id rts5139_usb_ids[] = { 836 836 {USB_DEVICE(0x0BDA, 0x0139)}, 837 837 {USB_DEVICE(0x0BDA, 0x0129)}, 838 838 {} /* Terminating entry */