From 74d484669784836c83f23f80ee21a44e9fbf4d59 Mon Sep 17 00:00:00 2001 From: Andrzej Pietrasiewicz Date: Thu, 8 May 2014 14:06:21 +0200 Subject: [PATCH] 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-format-patch failed