diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-02-04 18:49:36 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-02-23 16:21:22 +0100 |
commit | 7a3cc4618497e1c6b2f9cd4c8c20759ad8ceb2d1 (patch) | |
tree | e63d6784d69db0f95c540f8f50b19dbbd97eaf22 | |
parent | usb: isp1760: use msecs_to_jiffies for time conversion (diff) | |
download | linux-7a3cc4618497e1c6b2f9cd4c8c20759ad8ceb2d1.tar.xz linux-7a3cc4618497e1c6b2f9cd4c8c20759ad8ceb2d1.zip |
usb: gadget: function: f_hid: fix sparse warning
this patch fixes following sparse warning:
f_hid.c:572:30: warning: symbol 'f_hidg_fops' was not declared. Should it be static?
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r-- | drivers/usb/gadget/function/f_hid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/function/f_hid.c b/drivers/usb/gadget/function/f_hid.c index 426d69a9c018..a2612fb79eff 100644 --- a/drivers/usb/gadget/function/f_hid.c +++ b/drivers/usb/gadget/function/f_hid.c @@ -569,7 +569,7 @@ fail: return status; } -const struct file_operations f_hidg_fops = { +static const struct file_operations f_hidg_fops = { .owner = THIS_MODULE, .open = f_hidg_open, .release = f_hidg_release, |