From: David Howells Date: Tue, 8 Jul 2008 16:52:10 +0000 (+0100) Subject: ALSA: Fix a const to non-const assignment in the Digigram VXpocket sound driver X-Git-Tag: v2.6.27-rc1~1111^2~18 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7fc077fba5f8896c6fed3b35c5a10e7fdae82bbe;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pcmcia/vx/vxp_ops.c b/sound/pcmcia/vx/vxp_ops.c index 157b0b539f3..99bf2a65a6f 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 */