From f57f6c046ff54b7115c6cafd3e29a60342352cce Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 7 Oct 2010 17:41:04 -0700 Subject: 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 Acked-by: Liam Girdwood --- sound/soc/codecs/wm8962.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sound/soc/codecs/wm8962.h') 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; -- cgit v1.2.3