]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: fix two sparse warnings
authorFelipe Balbi <balbi@ti.com>
Fri, 18 Jan 2013 11:18:44 +0000 (13:18 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 21 Jan 2013 18:52:49 +0000 (20:52 +0200)
commit38b3ad5655e7b2ccb68e6510a84f839d0376fe05
tree36c7ad21097e4adf91e22d0cb85eeceae5bcd72f
parenta1ac29bd5d56c366e2fbefd7f9f8026e6808e4a8
usb: gadget: fix two sparse warnings

drivers/usb/gadget/u_serial.c:1291:5: sparse: symbol \
'userial_init' was not declared. Should it be static?
drivers/usb/gadget/zero.c:66:25: sparse: symbol \
'gzero_options' was not declared. Should it be static?

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/u_serial.c
drivers/usb/gadget/zero.c