浏览代码

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>
Takashi Iwai 17 年之前
父节点
当前提交
af13452820
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sound/isa/wavefront/wavefront_synth.c

+ 1 - 1
sound/isa/wavefront/wavefront_synth.c

@@ -1939,7 +1939,7 @@ static int __devinit
 wavefront_download_firmware (snd_wavefront_t *dev, char *path)
 wavefront_download_firmware (snd_wavefront_t *dev, char *path)
 
 
 {
 {
-	unsigned char *buf;
+	const unsigned char *buf;
 	int len, err;
 	int len, err;
 	int section_cnt_downloaded = 0;
 	int section_cnt_downloaded = 0;
 	const struct firmware *firmware;
 	const struct firmware *firmware;