Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | usb: gadget: FunctionFS: share VLA macros with all usb gadget files | Andrzej Pietrasiewicz | 2014-05-14 | 1 | -0/+26 |
| | | | | | | | | | | | Variable Length Array macros allow portable (compilable with both gcc and clang) way of allocating a number of structures using a single memory chunk. They can be useful for files other than f_fs.c, so move them to a header file. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com> | ||||
* | usb: gadget: factor out alloc_ep_req | Andrzej Pietrasiewicz | 2013-11-26 | 1 | -0/+26 |
alloc_ep_req() is a function repeated in several modules. Make a common implementation and use it. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com> |