summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-03-03 16:58:16 +0100
committerThomas Gleixner <tglx@linutronix.de>2009-03-13 14:32:29 +0100
commita9d0a1a38352c4fb8946e73b3e42ba4ada29e733 (patch)
tree3535c727fcb0063fedef4df165ce22fbaf03c048 /include
parent4553573277906901f62f73c0432b332c53de5e2c (diff)
downloadlinux-a9d0a1a38352c4fb8946e73b3e42ba4ada29e733.tar.gz
linux-a9d0a1a38352c4fb8946e73b3e42ba4ada29e733.tar.bz2
linux-a9d0a1a38352c4fb8946e73b3e42ba4ada29e733.zip
genirq: add doc to struct irqaction
Impact: documentation struct irqaction is not documented. Add kernel doc comments and add interrupt.h to the genirq docbook. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/interrupt.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 468e3a25a4a1..91658d076598 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -61,6 +61,17 @@
typedef irqreturn_t (*irq_handler_t)(int, void *);
+/**
+ * struct irqaction - per interrupt action descriptor
+ * @handler: interrupt handler function
+ * @flags: flags (see IRQF_* above)
+ * @mask: no comment as it is useless and about to be removed
+ * @name: name of the device
+ * @dev_id: cookie to identify the device
+ * @next: pointer to the next irqaction for shared interrupts
+ * @irq: interrupt number
+ * @dir: pointer to the proc/irq/NN/name entry
+ */
struct irqaction {
irq_handler_t handler;
unsigned long flags;