]> err.no Git - linux-2.6/blobdiff - sound/pci/mixart/mixart_hwdep.c
Merge branch 'bkl-removal' into next
[linux-2.6] / sound / pci / mixart / mixart_hwdep.c
index ca05075c67c62f35451c58c495c5f50d3738a0d0..f98603146132cd7b6aabfbb6862aa0c1f50e69ee 100644 (file)
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-#include <sound/driver.h>
 #include <linux/interrupt.h>
 #include <linux/pci.h>
 #include <linux/firmware.h>
+#include <linux/vmalloc.h>
 #include <asm/io.h>
 #include <sound/core.h>
 #include "mixart.h"
@@ -565,6 +565,9 @@ int snd_mixart_setup_firmware(struct mixart_mgr *mgr)
        return 0;
 }
 
+MODULE_FIRMWARE("mixart/miXart8.xlx");
+MODULE_FIRMWARE("mixart/miXart8.elf");
+MODULE_FIRMWARE("mixart/miXart8AES.xlx");
 
 #else /* old style firmware loading */
 
@@ -610,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;
        }