aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r--kernel/irq/manage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 261906ebdf04..6a6f1d3dd399 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -57,7 +57,7 @@ EXPORT_SYMBOL(synchronize_irq);
57 */ 57 */
58void disable_irq_nosync(unsigned int irq) 58void disable_irq_nosync(unsigned int irq)
59{ 59{
60 irq_desc_t *desc = irq_desc + irq; 60 struct irq_desc *desc = irq_desc + irq;
61 unsigned long flags; 61 unsigned long flags;
62 62
63 if (irq >= NR_IRQS) 63 if (irq >= NR_IRQS)
@@ -86,7 +86,7 @@ EXPORT_SYMBOL(disable_irq_nosync);
86 */ 86 */
87void disable_irq(unsigned int irq) 87void disable_irq(unsigned int irq)
88{ 88{
89 irq_desc_t *desc = irq_desc + irq; 89 struct irq_desc *desc = irq_desc + irq;
90 90
91 if (irq >= NR_IRQS) 91 if (irq >= NR_IRQS)
92 return; 92 return;
@@ -109,7 +109,7 @@ EXPORT_SYMBOL(disable_irq);
109 */ 109 */
110void enable_irq(unsigned int irq) 110void enable_irq(unsigned int irq)
111{ 111{
112 irq_desc_t *desc = irq_desc + irq; 112 struct irq_desc *desc = irq_desc + irq;
113 unsigned long flags; 113 unsigned long flags;
114 114
115 if (irq >= NR_IRQS) 115 if (irq >= NR_IRQS)