]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] declare struct irq_desc
authorAndrew Morton <akpm@osdl.org>
Thu, 7 Aug 2003 04:15:00 +0000 (21:15 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 7 Aug 2003 04:15:00 +0000 (21:15 -0700)
From: Martin Pool <mbp@samba.org>

ia64_mv_irq_desc returns a 'struct irq_desc', which had a forward declaration
but did not actually exist.  We're currently using a silly anonymous struct
typedefed to irq_desc_t.

Now add the structure name as well.

include/linux/irq.h

index b9b2909eb2bb98283b57a85bd3483e0aa9ae3199..1e384d887ace1cc86cbb94c7103c67b983d6fff4 100644 (file)
@@ -56,7 +56,7 @@ typedef struct hw_interrupt_type  hw_irq_controller;
  *
  * Pad this out to 32 bytes for cache and indexing reasons.
  */
-typedef struct {
+typedef struct irq_desc {
        unsigned int status;            /* IRQ status */
        hw_irq_controller *handler;
        struct irqaction *action;       /* IRQ action list */