diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2011-11-20 19:22:24 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-07-16 12:02:10 +0400 |
commit | b5b9eb546762c4015c67c31364a6ec6f83fd2ada (patch) | |
tree | 51915b26a33c7bafb68b9759856129798a403c8a /init | |
parent | 1464189f8c2a5341722437ef916786afaf241c44 (diff) | |
download | linux-b5b9eb546762c4015c67c31364a6ec6f83fd2ada.tar.xz |
ALSA: tlv: compute TLV_*_ITEM lengths automatically
Add helper macros with a little bit of preprocessor magic to
automatically compute the length of a TLV item. This lets us avoid
having to compute this by hand, and will allow to use items that do
not use a fixed length.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions