ALSA: es1938: replace TLV_DB_RANGE_HEAD with DECLARE_TLV_DB_RANGE
authorClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2011 16:21:34 +0000 (17:21 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Jul 2012 08:02:19 +0000 (10:02 +0200)
commit093eef416642c84265cced12335ff125f0db7313
tree1eb086a48f03a84022a59107dbd81a2d380bb1c7
parentbf1d1c9b6179faa3bc32cee882462bc8eebde25d
ALSA: es1938: replace TLV_DB_RANGE_HEAD with DECLARE_TLV_DB_RANGE

Instead of the hard-to-mantain TLV_DB_RANGE_HEAD macro, use
DECLARE_TLV_DB_RANGE, which computes its size automatically.

(Also make this data const on the way.)

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/es1938.c