Commit c2ba47d7 authored by David Woodhouse's avatar David Woodhouse Committed by David Woodhouse

vx222: treat firmware data as const

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent b0d31d6b
...@@ -359,7 +359,7 @@ static int vx2_load_xilinx_binary(struct vx_core *chip, const struct firmware *x ...@@ -359,7 +359,7 @@ static int vx2_load_xilinx_binary(struct vx_core *chip, const struct firmware *x
{ {
unsigned int i; unsigned int i;
unsigned int port; unsigned int port;
unsigned char *image; const unsigned char *image;
/* XILINX reset (wait at least 1 milisecond between reset on and off). */ /* XILINX reset (wait at least 1 milisecond between reset on and off). */
vx_outl(chip, CNTRL, VX_CNTRL_REGISTER_VALUE | VX_XILINX_RESET_MASK); vx_outl(chip, CNTRL, VX_CNTRL_REGISTER_VALUE | VX_XILINX_RESET_MASK);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment