]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95e5236fbd335484a50e1310aac588529b4237b7
tree1eb086a48f03a84022a59107dbd81a2d380bb1c7
parent196d43c6bc1234abc44fb8165bfa5922d3acce5b
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