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>
This commit is contained in:
Sachin Kamat 2014-01-22 17:30:41 +05:30 committed by Mark Brown
parent 3bba4a7889
commit 2046d45371
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}