From d2a276700cb2f15bdeacf49d65e116351f78dc1f Mon Sep 17 00:00:00 2001 From: Ana Rey Date: Thu, 13 Mar 2014 10:53:13 +0100 Subject: [PATCH] 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 Acked-by: Paul E. McKenney Signed-off-by: Peter P Waskiewicz Jr --- drivers/staging/rts5139/rts51x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rts5139/rts51x.c b/drivers/staging/rts5139/rts51x.c index c1a50702e1f8..c8d06d4fddd2 100644 --- a/drivers/staging/rts5139/rts51x.c +++ b/drivers/staging/rts5139/rts51x.c @@ -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 */