genirq: add doc to struct irqaction
authorThomas Gleixner <tglx@linutronix.de>
Tue, 3 Mar 2009 15:58:16 +0000 (16:58 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 13 Mar 2009 13:32:29 +0000 (14:32 +0100)
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>
Documentation/DocBook/genericirq.tmpl
include/linux/interrupt.h

index 3a882d9a90a9134317799a2b0357b53e3dcdb8fd..c671a01680965f5008ddc87b67c1049b3e519cbd 100644 (file)
@@ -440,6 +440,7 @@ desc->chip->end();
      used in the generic IRQ layer.
      </para>
 !Iinclude/linux/irq.h
+!Iinclude/linux/interrupt.h
   </chapter>
 
   <chapter id="pubfunctions">
index 468e3a25a4a19d1d31d6f2c81733c7ebe5dc0030..91658d0765982c04ee79e665411c82a17de10cb7 100644 (file)
 
 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;