From: David Woodhouse Date: Fri, 23 May 2008 23:01:40 +0000 (+0100) Subject: vx222: treat firmware data as const X-Git-Tag: v2.6.27-rc1~1094^2^2~58 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=c2ba47d776bf9a45e15f28fc73ad44877437bef9;p=linux-2.6-omap-h63xx.git vx222: treat firmware data as const Signed-off-by: David Woodhouse --- diff --git a/sound/pci/vx222/vx222_ops.c b/sound/pci/vx222/vx222_ops.c index b4bfc1acde8..631f3a63999 100644 --- a/sound/pci/vx222/vx222_ops.c +++ b/sound/pci/vx222/vx222_ops.c @@ -359,7 +359,7 @@ static int vx2_load_xilinx_binary(struct vx_core *chip, const struct firmware *x { unsigned int i; unsigned int port; - unsigned char *image; + const unsigned char *image; /* XILINX reset (wait at least 1 milisecond between reset on and off). */ vx_outl(chip, CNTRL, VX_CNTRL_REGISTER_VALUE | VX_XILINX_RESET_MASK);