summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2013-03-29 09:45:34 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-29 10:52:08 +0000
commit961b0fc840bf70511ef87d2f799eab014b4d2d37 (patch)
treebc0a44022014511d3d3365e19a552a2d059ab608 /sound/soc/codecs
parent8bb9660418e05bb1845ac1a2428444d78e322cc7 (diff)
downloadblackbird-op-linux-961b0fc840bf70511ef87d2f799eab014b4d2d37.tar.gz
blackbird-op-linux-961b0fc840bf70511ef87d2f799eab014b4d2d37.zip
ASoC: wm0010: Constify usage of firmware filenames
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/wm0010.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
index ad2fee4bb4cd..55fdf0f4406c 100644
--- a/sound/soc/codecs/wm0010.c
+++ b/sound/soc/codecs/wm0010.c
@@ -342,7 +342,7 @@ static void byte_swap_64(u64 *data_in, u64 *data_out, u32 len)
data_out[i] = cpu_to_be64(le64_to_cpu(data_in[i]));
}
-static int wm0010_firmware_load(char *name, struct snd_soc_codec *codec)
+static int wm0010_firmware_load(const char *name, struct snd_soc_codec *codec)
{
struct spi_device *spi = to_spi_device(codec->dev);
struct wm0010_priv *wm0010 = snd_soc_codec_get_drvdata(codec);
OpenPOWER on IntegriCloud