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/aw2 | |
parent | 3733e424c4fcd8edff2090f0628f4fd245daddb5 (diff) | |
download | op-kernel-dev-934c2b6d0cb50f9014ba0f10241e062a3bfc462d.zip op-kernel-dev-934c2b6d0cb50f9014ba0f10241e062a3bfc462d.tar.gz |
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/aw2')
-rw-r--r-- | sound/pci/aw2/aw2-alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/aw2/aw2-alsa.c b/sound/pci/aw2/aw2-alsa.c index 8410edb..f8569b1 100644 --- a/sound/pci/aw2/aw2-alsa.c +++ b/sound/pci/aw2/aw2-alsa.c @@ -317,7 +317,7 @@ static int __devinit snd_aw2_create(struct snd_card *card, snd_aw2_saa7146_setup(&chip->saa7146, chip->iobase_virt); if (request_irq(pci->irq, snd_aw2_saa7146_interrupt, - IRQF_SHARED, "Audiowerk2", chip)) { + IRQF_SHARED, KBUILD_MODNAME, chip)) { printk(KERN_ERR "aw2: Cannot grab irq %d\n", pci->irq); iounmap(chip->iobase_virt); |