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>
This commit is contained in:
Charles Keepax 2013-03-29 09:45:34 +00:00 committed by Mark Brown
parent 8bb9660418
commit 961b0fc840
1 changed files with 1 additions and 1 deletions

View File

@ -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])); 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 spi_device *spi = to_spi_device(codec->dev);
struct wm0010_priv *wm0010 = snd_soc_codec_get_drvdata(codec); struct wm0010_priv *wm0010 = snd_soc_codec_get_drvdata(codec);