diff options
author | Felipe Balbi <balbi@ti.com> | 2013-01-18 13:18:44 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-21 20:52:49 +0200 |
commit | 38b3ad5655e7b2ccb68e6510a84f839d0376fe05 (patch) | |
tree | 36c7ad21097e4adf91e22d0cb85eeceae5bcd72f /drivers/usb/gadget/zero.c | |
parent | a1ac29bd5d56c366e2fbefd7f9f8026e6808e4a8 (diff) | |
download | op-kernel-dev-38b3ad5655e7b2ccb68e6510a84f839d0376fe05.zip op-kernel-dev-38b3ad5655e7b2ccb68e6510a84f839d0376fe05.tar.gz |
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>
Diffstat (limited to 'drivers/usb/gadget/zero.c')
-rw-r--r-- | drivers/usb/gadget/zero.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/zero.c b/drivers/usb/gadget/zero.c index a331ab1..685fa68 100644 --- a/drivers/usb/gadget/zero.c +++ b/drivers/usb/gadget/zero.c @@ -63,7 +63,7 @@ static const char longname[] = "Gadget Zero"; static bool loopdefault = 0; module_param(loopdefault, bool, S_IRUGO|S_IWUSR); -struct usb_zero_options gzero_options = { +static struct usb_zero_options gzero_options = { .isoc_interval = 4, .isoc_maxpacket = 1024, .bulk_buflen = 4096, |