summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Halasa <khc@pm.waw.pl>2009-11-15 18:57:24 +0100
committerJiri Kosina <jkosina@suse.cz>2009-12-04 15:39:57 +0100
commitbebd04cc4569844effbdae49c01a48e57fa77864 (patch)
tree0752a50a6d3670a533592b6a198def0a98a927f6
parentaf901ca181d92aac3a7dc265144a9081a86d8f39 (diff)
downloadop-kernel-dev-bebd04cc4569844effbdae49c01a48e57fa77864.zip
op-kernel-dev-bebd04cc4569844effbdae49c01a48e57fa77864.tar.gz
doc: Fix IRQ chip docs
This patch updates the IRQ docs to match reality. Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--Documentation/DocBook/genericirq.tmpl4
-rw-r--r--include/linux/irq.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/DocBook/genericirq.tmpl b/Documentation/DocBook/genericirq.tmpl
index c671a01..1448b33 100644
--- a/Documentation/DocBook/genericirq.tmpl
+++ b/Documentation/DocBook/genericirq.tmpl
@@ -417,8 +417,8 @@ desc->chip->end();
</para>
<para>
To make use of the split implementation, replace the call to
- __do_IRQ by a call to desc->chip->handle_irq() and associate
- the appropriate handler function to desc->chip->handle_irq().
+ __do_IRQ by a call to desc->handle_irq() and associate
+ the appropriate handler function to desc->handle_irq().
In most cases the generic handler implementations should
be sufficient.
</para>
diff --git a/include/linux/irq.h b/include/linux/irq.h
index ae9653d..a287cfc 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -282,7 +282,7 @@ extern irqreturn_t handle_IRQ_event(unsigned int irq, struct irqaction *action);
/*
* Built-in IRQ handlers for various IRQ types,
- * callable via desc->chip->handle_irq()
+ * callable via desc->handle_irq()
*/
extern void handle_level_irq(unsigned int irq, struct irq_desc *desc);
extern void handle_fasteoi_irq(unsigned int irq, struct irq_desc *desc);
OpenPOWER on IntegriCloud