diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-07-09 13:13:30 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-07-10 03:32:59 -0400 |
commit | af13452820d075cb7153fe155ca796e64038d7e5 (patch) | |
tree | 9c498f931c0820c79c7e98455a1f16991808fda8 | |
parent | ee2da99782d717b264d5c309a2084ca85e9a64ff (diff) |
ALSA: wavefront - add const
Fix const to non-const pointer cast warning in wavefront_synth.c.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | sound/isa/wavefront/wavefront_synth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/wavefront/wavefront_synth.c b/sound/isa/wavefront/wavefront_synth.c index 95eeca163354..0bb9b9256601 100644 --- a/sound/isa/wavefront/wavefront_synth.c +++ b/sound/isa/wavefront/wavefront_synth.c | |||
@@ -1939,7 +1939,7 @@ static int __devinit | |||
1939 | wavefront_download_firmware (snd_wavefront_t *dev, char *path) | 1939 | wavefront_download_firmware (snd_wavefront_t *dev, char *path) |
1940 | 1940 | ||
1941 | { | 1941 | { |
1942 | unsigned char *buf; | 1942 | const unsigned char *buf; |
1943 | int len, err; | 1943 | int len, err; |
1944 | int section_cnt_downloaded = 0; | 1944 | int section_cnt_downloaded = 0; |
1945 | const struct firmware *firmware; | 1945 | const struct firmware *firmware; |