From 145c67ca3c2d9fb95b8d3f39995288f269eadc42 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 6 Aug 2003 21:15:00 -0700 Subject: [PATCH] [PATCH] declare struct irq_desc From: Martin Pool 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/irq.h b/include/linux/irq.h index b9b2909eb2bb9..1e384d887ace1 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h @@ -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 */ -- 2.53.0