From: Andrzej Pietrasiewicz Date: Thu, 8 May 2014 12:06:21 +0000 (+0200) Subject: usb: gadget: FunctionFS: share VLA macros with all usb gadget files X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~171^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74d484669784836c83f23f80ee21a44e9fbf4d59;p=pandora-kernel.git usb: gadget: FunctionFS: share VLA macros with all usb gadget files 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 Acked-by: Michal Nazarewicz Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed