aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/h1940_uda1380.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-01-22 07:00:41 -0500
committerMark Brown <broonie@linaro.org>2014-02-03 07:44:09 -0500
commit2046d453712faa9cfcc153e28c9f4b25a90ce6ed (patch)
treee772c67bf1bbd94eed0d1198fb9f65414b9d5001 /sound/soc/samsung/h1940_uda1380.c
parent3bba4a7889a1d23f34372aecd6de89134fe9ffd8 (diff)
ASoC: samsung: h1940_uda1380: Fix build warning
Fixes the following warning: sound/soc/samsung/h1940_uda1380.c:98:4: warning: passing argument 1 of ‘dev_err’ from incompatible pointer type [enabled by default] Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/samsung/h1940_uda1380.c')
-rw-r--r--sound/soc/samsung/h1940_uda1380.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/h1940_uda1380.c b/sound/soc/samsung/h1940_uda1380.c
index 3b27cd96570b..0003b661ab62 100644
--- a/sound/soc/samsung/h1940_uda1380.c
+++ b/sound/soc/samsung/h1940_uda1380.c
@@ -94,7 +94,7 @@ static int h1940_hw_params(struct snd_pcm_substream *substream,
94 div++; 94 div++;
95 break; 95 break;
96 default: 96 default:
97 dev_err(&rtd->dev, "%s: rate %d is not supported\n", 97 dev_err(rtd->dev, "%s: rate %d is not supported\n",
98 __func__, rate); 98 __func__, rate);
99 return -EINVAL; 99 return -EINVAL;
100 } 100 }