]> 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 369c19fea985f11af6c108ac1e9aa3e6668c0485..d2f043278cf4f8a329affc0116d6d122f1f586ee 100644 (file)
@@ -20,7 +20,6 @@
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-#include <sound/driver.h>
 #include <linux/interrupt.h>
 #include <linux/vmalloc.h>
 #include <linux/firmware.h>
@@ -356,6 +355,12 @@ int pcxhr_setup_firmware(struct pcxhr_mgr *mgr)
        return 0;
 }
 
+MODULE_FIRMWARE("pcxhr/xi_1_882.dat");
+MODULE_FIRMWARE("pcxhr/xc_1_882.dat");
+MODULE_FIRMWARE("pcxhr/e321_512.e56");
+MODULE_FIRMWARE("pcxhr/b321_512.b56");
+MODULE_FIRMWARE("pcxhr/d321_512.d56");
+
 #else /* old style firmware loading */
 
 /* pcxhr hwdep interface id string */
@@ -389,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;
        }