]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - sound/pci/vx222/vx222_ops.c
vx222: treat firmware data as const
[karo-tx-linux.git] / sound / pci / vx222 / vx222_ops.c
index b4bfc1acde88ea80a4d5dce9f1b023c80ede432d..631f3a63999329a8bef69ac0afbc825aac47ae1b 100644 (file)
@@ -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);