]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/mixart/mixart_hwdep.c
Fix a const pointer usage warning in the Digigram miXart soundcard driver
[linux-2.6-omap-h63xx.git] / sound / pci / mixart / mixart_hwdep.c
index 122c28efc483cd322231fc382ea7ff557f42b6b0..f98603146132cd7b6aabfbb6862aa0c1f50e69ee 100644 (file)
@@ -613,7 +613,7 @@ static int mixart_hwdep_dsp_load(struct snd_hwdep *hw,
                           (int)dsp->length);
                return -ENOMEM;
        }
-       if (copy_from_user(fw.data, dsp->image, dsp->length)) {
+       if (copy_from_user((void *) fw.data, dsp->image, dsp->length)) {
                vfree(fw.data);
                return -EFAULT;
        }