]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - sound/pci/es1938.c
sound: fix drivers needing module.h not moduleparam.h
[mirror_ubuntu-jammy-kernel.git] / sound / pci / es1938.c
index 26a5a2f25d4bc890a6ff42c96580edfd4b5b70ec..04cc21f5d014125597370ccf3a01b96ccfa9a396 100644 (file)
@@ -52,7 +52,7 @@
 #include <linux/pci.h>
 #include <linux/slab.h>
 #include <linux/gameport.h>
-#include <linux/moduleparam.h>
+#include <linux/module.h>
 #include <linux/delay.h>
 #include <linux/dma-mapping.h>
 #include <sound/core.h>
@@ -1854,8 +1854,9 @@ static int __devinit snd_es1938_probe(struct pci_dev *pci,
                }
        }
        if (snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401,
-                               chip->mpu_port, MPU401_INFO_INTEGRATED,
-                               chip->irq, 0, &chip->rmidi) < 0) {
+                               chip->mpu_port,
+                               MPU401_INFO_INTEGRATED | MPU401_INFO_IRQ_HOOK,
+                               -1, &chip->rmidi) < 0) {
                printk(KERN_ERR "es1938: unable to initialize MPU-401\n");
        } else {
                // this line is vital for MIDI interrupt handling on ess-solo1