Explorar o código

vx222: treat firmware data as const

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
David Woodhouse %!s(int64=17) %!d(string=hai) anos
pai
achega
c2ba47d776
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sound/pci/vx222/vx222_ops.c

+ 1 - 1
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);