]> err.no Git - linux-2.6/commitdiff
ALSA: Fix a const to non-const assignment in the Digigram VXpocket sound driver
authorDavid Howells <dhowells@redhat.com>
Tue, 8 Jul 2008 16:52:10 +0000 (17:52 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 10 Jul 2008 07:32:57 +0000 (09:32 +0200)
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>
sound/pcmcia/vx/vxp_ops.c

index 157b0b539f39d33cfc3b8f7bce35b1c288649bd6..99bf2a65a6f5ce82260b2f7d0f8fdbf56b804c7f 100644 (file)
@@ -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 */