diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-08-07 10:16:07 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 09:58:29 -0400 |
commit | a110133d4c56a56d927e4fba68317212969fddbd (patch) | |
tree | de6cf62f29a643d39678c8e0e0e340cd3ce397a8 /Documentation | |
parent | 7034632d88b02960abee258056d2269e606707e9 (diff) |
[ALSA] doc - Remove IRQF_DISABLED from the example description
Remove the bogus IRQF_DISBLAED together with IRQF_SHARED from the
example code in the document.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl index 9ec634c398d9..b9d2dbee9bc3 100644 --- a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl +++ b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl | |||
@@ -1333,7 +1333,7 @@ | |||
1333 | <programlisting> | 1333 | <programlisting> |
1334 | <![CDATA[ | 1334 | <![CDATA[ |
1335 | if (request_irq(pci->irq, snd_mychip_interrupt, | 1335 | if (request_irq(pci->irq, snd_mychip_interrupt, |
1336 | IRQF_DISABLED|IRQF_SHARED, "My Chip", chip)) { | 1336 | IRQF_SHARED, "My Chip", chip)) { |
1337 | printk(KERN_ERR "cannot grab irq %d\n", pci->irq); | 1337 | printk(KERN_ERR "cannot grab irq %d\n", pci->irq); |
1338 | snd_mychip_free(chip); | 1338 | snd_mychip_free(chip); |
1339 | return -EBUSY; | 1339 | return -EBUSY; |