]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: wavefront - add const
authorTakashi Iwai <tiwai@suse.de>
Wed, 9 Jul 2008 17:13:30 +0000 (19:13 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 10 Jul 2008 07:32:59 +0000 (09:32 +0200)
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>
sound/isa/wavefront/wavefront_synth.c

index 95eeca163354b5303b89554bdeafb8053bc54fcd..0bb9b92566010875f148106c8423bf04a5b3cff8 100644 (file)
@@ -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;