From: Clemens Ladisch Date: Sun, 20 Nov 2011 15:22:24 +0000 (+0100) Subject: ALSA: tlv: compute TLV_*_ITEM lengths automatically X-Git-Tag: v3.6-rc1~117^2~6^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5b9eb546762c4015c67c31364a6ec6f83fd2ada;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed