From: Sachin Kamat Date: Wed, 22 Jan 2014 12:00:41 +0000 (+0530) Subject: ASoC: samsung: h1940_uda1380: Fix build warning X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=2046d453712faa9cfcc153e28c9f4b25a90ce6ed;p=deliverable%2Flinux.git 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 Signed-off-by: Mark Brown --- 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, div++; break; default: - dev_err(&rtd->dev, "%s: rate %d is not supported\n", + dev_err(rtd->dev, "%s: rate %d is not supported\n", __func__, rate); return -EINVAL; }