From: Ana Rey Date: Thu, 13 Mar 2014 09:53:13 +0000 (+0100) Subject: staging: rts5139: make thrts5139_usb_idse local variable static in rts51x.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d2a276700cb2f15bdeacf49d65e116351f78dc1f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 Acked-by: Paul E. McKenney Signed-off-by: Peter P Waskiewicz Jr --- 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 */