]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/drivers/vx/vx_hwdep.c
ALSA: Fix a const pointer usage warning in the Digigram VX soundcard driver
[linux-2.6-omap-h63xx.git] / sound / drivers / vx / vx_hwdep.c
index 1dfe6948e6ffdb14d36438dad0940e520f862338..efd22e92bcedea68f2a1de780f8e2b919b3d33fe 100644 (file)
@@ -183,7 +183,7 @@ static int vx_hwdep_dsp_load(struct snd_hwdep *hw,
                kfree(fw);
                return -ENOMEM;
        }
-       if (copy_from_user(fw->data, dsp->image, dsp->length)) {
+       if (copy_from_user((void *)fw->data, dsp->image, dsp->length)) {
                free_fw(fw);
                return -EFAULT;
        }