diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-02-04 17:49:36 +0000 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-02-23 09:21:22 -0600 |
commit | 7a3cc4618497e1c6b2f9cd4c8c20759ad8ceb2d1 (patch) | |
tree | e63d6784d69db0f95c540f8f50b19dbbd97eaf22 | |
parent | 4d3db7d78425c469d328d460e3b69dfb80dd309c (diff) | |
download | op-kernel-dev-7a3cc4618497e1c6b2f9cd4c8c20759ad8ceb2d1.zip op-kernel-dev-7a3cc4618497e1c6b2f9cd4c8c20759ad8ceb2d1.tar.gz |
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 426d69a..a2612fb 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, |