aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/ints.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/kernel/ints.c')
-rw-r--r--arch/m68k/kernel/ints.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/kernel/ints.c b/arch/m68k/kernel/ints.c
index 895a56d69eba..3ce7c6166bb9 100644
--- a/arch/m68k/kernel/ints.c
+++ b/arch/m68k/kernel/ints.c
@@ -153,7 +153,7 @@ int cpu_request_irq(unsigned int irq,
153 irqreturn_t (*handler)(int, void *, struct pt_regs *), 153 irqreturn_t (*handler)(int, void *, struct pt_regs *),
154 unsigned long flags, const char *devname, void *dev_id) 154 unsigned long flags, const char *devname, void *dev_id)
155{ 155{
156 if (irq < IRQ1 || irq > IRQ7) { 156 if (irq < IRQ_AUTO_1 || irq > IRQ_AUTO_7) {
157 printk("%s: Incorrect IRQ %d from %s\n", 157 printk("%s: Incorrect IRQ %d from %s\n",
158 __FUNCTION__, irq, devname); 158 __FUNCTION__, irq, devname);
159 return -ENXIO; 159 return -ENXIO;
@@ -183,7 +183,7 @@ int cpu_request_irq(unsigned int irq,
183 183
184void cpu_free_irq(unsigned int irq, void *dev_id) 184void cpu_free_irq(unsigned int irq, void *dev_id)
185{ 185{
186 if (irq < IRQ1 || irq > IRQ7) { 186 if (irq < IRQ_AUTO_1 || irq > IRQ_AUTO_7) {
187 printk("%s: Incorrect IRQ %d\n", __FUNCTION__, irq); 187 printk("%s: Incorrect IRQ %d\n", __FUNCTION__, irq);
188 return; 188 return;
189 } 189 }