]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/pcxhr/pcxhr_hwdep.c
Fix a const pointer usage warning in the Digigram pcxhr soundcard driver
[linux-2.6-omap-h63xx.git] / sound / pci / pcxhr / pcxhr_hwdep.c
index e6a4bfbb91bb664ed933c3a8c95e286b5876ac83..d2f043278cf4f8a329affc0116d6d122f1f586ee 100644 (file)
@@ -394,7 +394,7 @@ static int pcxhr_hwdep_dsp_load(struct snd_hwdep *hw,
                           (unsigned long)fw.size);
                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;
        }