diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-07-09 19:13:30 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-07-10 09:32:59 +0200 |
commit | af13452820d075cb7153fe155ca796e64038d7e5 (patch) | |
tree | 9c498f931c0820c79c7e98455a1f16991808fda8 /sound/isa | |
parent | ALSA: remove CONFIG_KMOD from sound (diff) | |
download | linux-af13452820d075cb7153fe155ca796e64038d7e5.tar.xz linux-af13452820d075cb7153fe155ca796e64038d7e5.zip |
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>
Diffstat (limited to 'sound/isa')
-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 wavefront_download_firmware (snd_wavefront_t *dev, char *path) { - unsigned char *buf; + const unsigned char *buf; int len, err; int section_cnt_downloaded = 0; const struct firmware *firmware; |