From: Takashi Iwai Date: Wed, 9 Jul 2008 17:13:30 +0000 (+0200) Subject: ALSA: wavefront - add const X-Git-Tag: v2.6.27-rc1~1111^2~16 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=af13452820d075cb7153fe155ca796e64038d7e5;p=linux-2.6-omap-h63xx.git ALSA: wavefront - add const Fix const to non-const pointer cast warning in wavefront_synth.c. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/isa/wavefront/wavefront_synth.c b/sound/isa/wavefront/wavefront_synth.c index 95eeca16335..0bb9b925660 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;