On Thursday, November 22, 2012 11:00 PM Michal Nazarewicz wrote:
>
> > +
> > +#define UFG_MODULE (UFG_SUBSYSTEM->subsys.su_group.cg_item.ci_type-
> >ct_owner)
>
> I cannot seem to find UFG_SUBSYSTEM anywhere.
>
Because it is not here... It is exported from the usb_functions.c.
That's also wh
On Thu, Nov 22 2012, Andrzej Pietrasiewicz wrote:
> +#define _FSG_MODULE_PARAM_ARRAY(prefix, params, name, type, desc)\
> + module_param_array_named(prefix ## name, params.name, type, \
> + &prefix ## params.name ## _count, \
> +
* Andrzej Pietrasiewicz | 2012-11-22 13:07:07 [+0100]:
>This is an example of how to create an adapter module for an old-style gadget.
>It provides the legacy interface while internally operates on configfs.
>
>Usage is like g_mass_storage.ko, but instead the user needs to do e.g.:
>
>insmod libco