diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-06-10 10:36:37 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-06-10 10:36:37 -0400 |
commit | 934c2b6d0cb50f9014ba0f10241e062a3bfc462d (patch) | |
tree | 663cf74994f683b73a5a069882c9062f1a1b875b /sound/pci/cmipci.c | |
parent | 3733e424c4fcd8edff2090f0628f4fd245daddb5 (diff) |
ALSA: use KBUILD_MODNAME for request_irq argument in sound/pci/*
The name argument of request_irq() appears in /proc/interrupts, and
it's quite ugly when the name entry contains a space or special letters.
In general, it's simpler and more readable when the module name appears
there, so let's replace all entries with KBUILD_MODNAME.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cmipci.c')
-rw-r--r-- | sound/pci/cmipci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c index 84af5bece127..9cf99fb7eb9c 100644 --- a/sound/pci/cmipci.c +++ b/sound/pci/cmipci.c | |||
@@ -3053,7 +3053,7 @@ static int __devinit snd_cmipci_create(struct snd_card *card, struct pci_dev *pc | |||
3053 | cm->iobase = pci_resource_start(pci, 0); | 3053 | cm->iobase = pci_resource_start(pci, 0); |
3054 | 3054 | ||
3055 | if (request_irq(pci->irq, snd_cmipci_interrupt, | 3055 | if (request_irq(pci->irq, snd_cmipci_interrupt, |
3056 | IRQF_SHARED, card->driver, cm)) { | 3056 | IRQF_SHARED, KBUILD_MODNAME, cm)) { |
3057 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); | 3057 | snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); |
3058 | snd_cmipci_free(cm); | 3058 | snd_cmipci_free(cm); |
3059 | return -EBUSY; | 3059 | return -EBUSY; |