mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
[PATCH] m68k: cleanup generic irq names
Rename IRQ1..IRQ7 to IRQ_AUTO_1..IRQ_AUTO_7 and remove the duplicate defintions. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
92445eaaad
commit
4facfde9f1
6 changed files with 15 additions and 39 deletions
|
@ -153,7 +153,7 @@ int cpu_request_irq(unsigned int irq,
|
|||
irqreturn_t (*handler)(int, void *, struct pt_regs *),
|
||||
unsigned long flags, const char *devname, void *dev_id)
|
||||
{
|
||||
if (irq < IRQ1 || irq > IRQ7) {
|
||||
if (irq < IRQ_AUTO_1 || irq > IRQ_AUTO_7) {
|
||||
printk("%s: Incorrect IRQ %d from %s\n",
|
||||
__FUNCTION__, irq, devname);
|
||||
return -ENXIO;
|
||||
|
@ -183,7 +183,7 @@ int cpu_request_irq(unsigned int irq,
|
|||
|
||||
void cpu_free_irq(unsigned int irq, void *dev_id)
|
||||
{
|
||||
if (irq < IRQ1 || irq > IRQ7) {
|
||||
if (irq < IRQ_AUTO_1 || irq > IRQ_AUTO_7) {
|
||||
printk("%s: Incorrect IRQ %d\n", __FUNCTION__, irq);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue