]> 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 1ee0918c3b9f4bc43641b1040e4cbfa3c07952b6..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 */