OSDN Git Service

usb: gadget: f_uvc: rename a macro to avoid conflicts
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Wed, 10 Dec 2014 11:34:00 +0000 (12:34 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 18:13:26 +0000 (12:13 -0600)
commitbbea6de1bd12dd509f774f2a3165216eeac7bc54
tree47d75c3d430fe24a1a5dacd66555844cc297ebfd
parent6b1b0fe0698f0e4d528a33f43d5c56f7e6e8f756
usb: gadget: f_uvc: rename a macro to avoid conflicts

When configfs is integrated, CONFIGFS_ATTR_STRUCT and CONFIGFS_ATTR_OPS
macros should be used, but the latter expects that tere is a to_f_uvc_opts
function accepting a config_item, whereas the macro being changed
can be applied to a different type of argument.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_uvc.c
drivers/usb/gadget/function/u_uvc.h