summaryrefslogtreecommitdiffstats
path: root/kernel/extable.c
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2014-05-08 14:06:21 +0200
committerFelipe Balbi <balbi@ti.com>2014-05-14 09:37:27 -0500
commit74d484669784836c83f23f80ee21a44e9fbf4d59 (patch)
tree64e4c7d73805d82294c92fcfae9b0a6b0dabec91 /kernel/extable.c
parent10f0577aa5cb03c81cf6ddc2ff7de1b6d6152d0b (diff)
downloadop-kernel-dev-74d484669784836c83f23f80ee21a44e9fbf4d59.zip
op-kernel-dev-74d484669784836c83f23f80ee21a44e9fbf4d59.tar.gz
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 <andrzej.p@samsung.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'kernel/extable.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud