usb: gadget: atmel_usba: Fix sparse warning
authorJingoo Han <jg1.han@samsung.com>
Mon, 16 Dec 2013 06:14:23 +0000 (15:14 +0900)
committerFelipe Balbi <balbi@ti.com>
Tue, 17 Dec 2013 19:17:42 +0000 (13:17 -0600)
commit5056ee83e8e9b3b3eec895f8bb0804a802fb61d2
tree4f81eabdf85d268255c15dfb2aff87711ef21a4a
parent40a8fb2a671319c589baa9995e7b6f3b8c72c30c
usb: gadget: atmel_usba: Fix sparse warning

'usba_gadget_template' is used only in this file. Thus, make
'usba_gadget_template' static, in order to fix the following
sparse warning.

warning: symbol 'usba_gadget_template' was not declared. Should it be static?

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/atmel_usba_udc.c
This page took 0.025859 seconds and 5 git commands to generate.