Ignore:
Timestamp:
May 16, 2020, 10:05:07 AM (5 years ago)
Author:
Paul Smedley
Message:

Commit 3..102 changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-linux-3.2.102/alsa-kernel/pci/sonicvibes.c

    r598 r612  
    2929#include <linux/slab.h>
    3030#include <linux/gameport.h>
    31 #include <linux/moduleparam.h>
     31#include <linux/module.h>
    3232#include <linux/dma-mapping.h>
    3333
     
    12951295
    12961296        if (request_irq(pci->irq, snd_sonicvibes_interrupt, IRQF_SHARED,
    1297                         "S3 SonicVibes", sonic)) {
     1297                        KBUILD_MODNAME, sonic)) {
    12981298                snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq);
    12991299                snd_sonicvibes_free(sonic);
     
    14941494        }
    14951495        if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_SONICVIBES,
    1496                                        sonic->midi_port, MPU401_INFO_INTEGRATED,
    1497                                        sonic->irq, 0,
    1498                                        &midi_uart)) < 0) {
     1496                                       sonic->midi_port,
     1497                                       MPU401_INFO_INTEGRATED |
     1498                                       MPU401_INFO_IRQ_HOOK,
     1499                                       -1, &midi_uart)) < 0) {
    14991500                snd_card_free(card);
    15001501                return err;
     
    15311532
    15321533static struct pci_driver driver = {
    1533         .name = "S3 SonicVibes",
     1534        .name = KBUILD_MODNAME,
    15341535        .id_table = snd_sonic_ids,
    15351536        .probe = snd_sonic_probe,
Note: See TracChangeset for help on using the changeset viewer.