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-Url: https://git.stricted.de/?a=commitdiff_plain;h=7fc077fba5f8896c6fed3b35c5a10e7fdae82bbe;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 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 */