]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pcmcia/vx/vxp_ops.c
ALSA: Fix a const to non-const assignment in the Digigram VXpocket sound driver
[linux-2.6-omap-h63xx.git] / sound / pcmcia / vx / vxp_ops.c
index 7f82f619f9f4c992c1fa72ff2a22f7e4bd6bf907..99bf2a65a6f5ce82260b2f7d0f8fdbf56b804c7f 100644 (file)
@@ -20,7 +20,6 @@
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-#include <sound/driver.h>
 #include <linux/delay.h>
 #include <linux/device.h>
 #include <linux/firmware.h>
@@ -152,7 +151,7 @@ static int vxp_load_xilinx_binary(struct vx_core *_chip, const struct firmware *
        unsigned int i;
        int c;
        int regCSUER, regRUER;
-       unsigned char *image;
+       const unsigned char *image;
        unsigned char data;
 
        /* Switch to programmation mode */
@@ -202,7 +201,7 @@ static int vxp_load_xilinx_binary(struct vx_core *_chip, const struct firmware *
        c |= (int)vx_inb(chip, RXM) << 8;
        c |= vx_inb(chip, RXL);
 
-       snd_printdd(KERN_DEBUG "xilinx: dsp size received 0x%x, orig 0x%x\n", c, fw->size);
+       snd_printdd(KERN_DEBUG "xilinx: dsp size received 0x%x, orig 0x%Zx\n", c, fw->size);
 
        vx_outb(chip, ICR, ICR_HF0);