vx222: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
committed by
David Woodhouse
parent
b0d31d6b28
commit
c2ba47d776
@@ -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);
|
||||||
|
Reference in New Issue
Block a user