summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-01-08 11:13:35 +0100
committerMark Brown <broonie@linaro.org>2014-01-08 13:22:18 +0100
commit7ee4518ab75164533e282eb8f2827a74920a2a19 (patch)
tree553d72658a8fb100a9b2988af33c25d926ba1008 /sound
parentASoC: ux500: Dramatically reduce the size of the DAI driver data struct (diff)
downloadlinux-7ee4518ab75164533e282eb8f2827a74920a2a19.tar.xz
linux-7ee4518ab75164533e282eb8f2827a74920a2a19.zip
ASoC: ux500: Fix sparse non static symbol warning
Fixes the following sparse warning: sound/soc/ux500/ux500_msp_i2s.c:649:5: warning: symbol 'ux500_msp_i2s_of_init_msp' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/ux500/ux500_msp_i2s.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/ux500/ux500_msp_i2s.c b/sound/soc/ux500/ux500_msp_i2s.c
index 7f2a4acddcd7..959d7b4edf56 100644
--- a/sound/soc/ux500/ux500_msp_i2s.c
+++ b/sound/soc/ux500/ux500_msp_i2s.c
@@ -646,9 +646,9 @@ int ux500_msp_i2s_close(struct ux500_msp *msp, unsigned int dir)
}
-int ux500_msp_i2s_of_init_msp(struct platform_device *pdev,
- struct ux500_msp *msp,
- struct msp_i2s_platform_data **platform_data)
+static int ux500_msp_i2s_of_init_msp(struct platform_device *pdev,
+ struct ux500_msp *msp,
+ struct msp_i2s_platform_data **platform_data)
{
struct msp_i2s_platform_data *pdata;