diff options
| author | Guennadi Liakhovetski <[email protected]> | 2010-01-21 21:10:47 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2010-01-25 14:50:45 +0000 |
| commit | 8484c63f4b363d79febe35f95328e38018b65026 (patch) | |
| tree | 43e3950e81319f2e921a7ba1796ca35d64f7dd4a /include/linux | |
| parent | 821dd91ec7838e1313d783384ea9ce43510d4013 (diff) | |
ASoC: add simplified versions of widget macros
Many macros from include/sound/soc-dapm.h take an array and a number of
elements in it as arguments, whereas most users use static arrays and use
"x, ARRAY_SIZE(x)" as arguments. This patch adds simplified versions of
those macros, calling ARRAY_SIZE() internally.
Signed-off-by: Guennadi Liakhovetski <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions