Browse Source

ALSA: Fix a const to non-const assignment in the Digigram VXpocket sound driver

Fix a const to non-const pointer assignment warning in the Digigram VXpocket
sound driver.

This may be due to patch 0aa4937648b91e9e6d3879b2cbeaa5f0c9863ac0.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
David Howells 17 years ago
parent
commit
7fc077fba5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/pcmcia/vx/vxp_ops.c

+ 1 - 1
sound/pcmcia/vx/vxp_ops.c

@@ -151,7 +151,7 @@ static int vxp_load_xilinx_binary(struct vx_core *_chip, const struct firmware *
 	unsigned int i;
 	unsigned int i;
 	int c;
 	int c;
 	int regCSUER, regRUER;
 	int regCSUER, regRUER;
-	unsigned char *image;
+	const unsigned char *image;
 	unsigned char data;
 	unsigned char data;
 
 
 	/* Switch to programmation mode */
 	/* Switch to programmation mode */