summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2008-07-08 17:52:10 +0100
committerJaroslav Kysela <perex@perex.cz>2008-07-10 09:32:57 +0200
commit7fc077fba5f8896c6fed3b35c5a10e7fdae82bbe (patch)
tree19f9d6d3afaddaf1827d30d7b9dd5d027a1e378c
parentbd5d06eb8f0b9e0eb117b9c45c254d577ec2e273 (diff)
downloadblackbird-op-linux-7fc077fba5f8896c6fed3b35c5a10e7fdae82bbe.tar.gz
blackbird-op-linux-7fc077fba5f8896c6fed3b35c5a10e7fdae82bbe.zip
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>
-rw-r--r--sound/pcmcia/vx/vxp_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pcmcia/vx/vxp_ops.c b/sound/pcmcia/vx/vxp_ops.c
index 157b0b539f39..99bf2a65a6f5 100644
--- a/sound/pcmcia/vx/vxp_ops.c
+++ b/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;
int c;
int regCSUER, regRUER;
- unsigned char *image;
+ const unsigned char *image;
unsigned char data;
/* Switch to programmation mode */
OpenPOWER on IntegriCloud