diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-06-10 16:36:37 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-06-10 16:36:37 +0200 |
commit | 934c2b6d0cb50f9014ba0f10241e062a3bfc462d (patch) | |
tree | 663cf74994f683b73a5a069882c9062f1a1b875b /sound/pci/pcxhr | |
parent | ALSA: Use KBUILD_MODNAME for pci_driver.name entries (diff) | |
download | linux-934c2b6d0cb50f9014ba0f10241e062a3bfc462d.tar.xz linux-934c2b6d0cb50f9014ba0f10241e062a3bfc462d.zip |
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/pcxhr')
-rw-r--r-- | sound/pci/pcxhr/pcxhr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/pcxhr/pcxhr.c b/sound/pci/pcxhr/pcxhr.c index cb215a01ebb6..046578d26f98 100644 --- a/sound/pci/pcxhr/pcxhr.c +++ b/sound/pci/pcxhr/pcxhr.c @@ -1501,7 +1501,7 @@ static int __devinit pcxhr_probe(struct pci_dev *pci, mgr->irq = -1; if (request_irq(pci->irq, pcxhr_interrupt, IRQF_SHARED, - card_name, mgr)) { + KBUILD_MODNAME, mgr)) { snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); pcxhr_free(mgr); return -EBUSY; |