diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-10-07 17:41:04 -0700 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-10-11 03:50:39 -0700 |
commit | f57f6c046ff54b7115c6cafd3e29a60342352cce (patch) | |
tree | 9377a4aae8849b347d3749ba803cafd44b8ef32e /sound/soc/codecs/wm8962.h | |
parent | 9d9641ec891a53ef93a8972c7913605aeb8127c7 (diff) | |
download | linux-next-f57f6c046ff54b7115c6cafd3e29a60342352cce.tar.gz |
ASoC: Shrink code size for WM8962 register defaults table
Dramatically reduce the code size for the WM8962 register defaults table
by switching to explicitly initialise only defined registers, relying on
static defaulting to zero for the overwelming bulk of the register map.
Similar treatement for the register access table will come later and will
produce a similarly dramatic code size shrink.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/wm8962.h')
-rw-r--r-- | sound/soc/codecs/wm8962.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8962.h b/sound/soc/codecs/wm8962.h index 2af6c9371fcc..588726dfd1c8 100644 --- a/sound/soc/codecs/wm8962.h +++ b/sound/soc/codecs/wm8962.h @@ -3775,8 +3775,6 @@ #define WM8962_VSS_ENA_SHIFT 0 /* VSS_ENA */ #define WM8962_VSS_ENA_WIDTH 1 /* VSS_ENA */ -extern const u16 wm8962_reg[WM8962_MAX_REGISTER + 1]; - struct wm8962_reg_access { u16 read; u16 write; |