Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a3cc461 authored by Lad, Prabhakar's avatar Lad, Prabhakar Committed by Felipe Balbi
Browse files

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: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 4d3db7d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -569,7 +569,7 @@ static int hidg_set_alt(struct usb_function *f, unsigned intf, unsigned alt)
	return status;
	return status;
}
}


const struct file_operations f_hidg_fops = {
static const struct file_operations f_hidg_fops = {
	.owner		= THIS_MODULE,
	.owner		= THIS_MODULE,
	.open		= f_hidg_open,
	.open		= f_hidg_open,
	.release	= f_hidg_release,
	.release	= f_hidg_release,