summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8903.c
diff options
context:
space:
mode:
authorSanjay Singh Rawat <srawat@nvidia.com>2012-04-06 18:54:06 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-05-14 05:57:04 -0700
commit81bbcfffed65ce86dbe365ca7676bb0eb09ee4a1 (patch)
tree8ff003ccc63bf19ae9b2277dad15788df24a83ff /sound/soc/codecs/wm8903.c
parent03e475df8b5b3666f099ad51d674324d0291367a (diff)
asoc: codecs: resolve compilation time warnings
Bug 949219 Change-Id: I9c2a0aa22432c586a7e72273ad935d42332e873f Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/95087 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'sound/soc/codecs/wm8903.c')
-rw-r--r--sound/soc/codecs/wm8903.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c
index df4d0ee6f975..2a2d16886989 100644
--- a/sound/soc/codecs/wm8903.c
+++ b/sound/soc/codecs/wm8903.c
@@ -1404,6 +1404,7 @@ static struct {
{ 1500, 0x9, 0x2, 2 },
};
+#ifdef SYS_BCLK_RATIO
/* CLK_SYS/BCLK ratios - multiplied by 10 due to .5s */
static struct {
int ratio;
@@ -1427,6 +1428,7 @@ static struct {
{ 440, 19 },
{ 480, 20 },
};
+#endif
/* Sample rates for DSP */
static struct {