Re: [patch 5/6] usb: gadget: uvc: make a bunch of stuff static

2015-01-15 Thread Andrzej Pietrasiewicz
W dniu 14.01.2015 o 23:45, Felipe Balbi pisze: On Thu, Jan 15, 2015 at 12:03:52AM +0300, Dan Carpenter wrote: Sparse rightly complains that these things should be static since they are only used in the one .c file. There has already been a patch for this: http://www.spinics.net/lists/linux-

Re: [patch 5/6] usb: gadget: uvc: make a bunch of stuff static

2015-01-14 Thread Felipe Balbi
On Thu, Jan 15, 2015 at 12:03:52AM +0300, Dan Carpenter wrote: > Sparse rightly complains that these things should be static since they > are only used in the one .c file. > > Signed-off-by: Dan Carpenter fails to apply on top of my testing/next checking file drivers/usb/gadget/function/uvc_con

[patch 5/6] usb: gadget: uvc: make a bunch of stuff static

2015-01-14 Thread Dan Carpenter
Sparse rightly complains that these things should be static since they are only used in the one .c file. Signed-off-by: Dan Carpenter diff --git a/drivers/usb/gadget/function/uvc_configfs.c b/drivers/usb/gadget/function/uvc_configfs.c index 1af2686..a0443a2 100644 --- a/drivers/usb/gadget/funct