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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 627d401c2979..9eb1d518ee1c 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -199,7 +199,7 @@ int setup_irq(unsigned int irq, struct irqaction *new)
199 if (irq >= NR_IRQS) 199 if (irq >= NR_IRQS)
200 return -EINVAL; 200 return -EINVAL;
201 201
202 if (desc->chip == &no_irq_type) 202 if (desc->chip == &no_irq_chip)
203 return -ENOSYS; 203 return -ENOSYS;
204 /* 204 /*
205 * Some drivers like serial.c use request_irq() heavily, 205 * Some drivers like serial.c use request_irq() heavily,