mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 02:13:01 +02:00
there is no need in two identical actions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8760 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fc58f2fd75
commit
1fe90486fd
@ -71,15 +71,9 @@ static struct irq_chip ar7_sec_irq_type = {
|
||||
|
||||
static struct irqaction ar7_cascade_action = {
|
||||
.handler = no_action,
|
||||
|
||||
.name = "AR7 cascade interrupt"
|
||||
};
|
||||
|
||||
static struct irqaction ar7_sec_cascade_action = {
|
||||
.handler = no_action,
|
||||
.name = "AR7 secondary cascade interrupt"
|
||||
};
|
||||
|
||||
static void ar7_unmask_irq(unsigned int irq)
|
||||
{
|
||||
writel(1 << ((irq - ar7_irq_base) % 32),
|
||||
@ -146,7 +140,7 @@ static void __init ar7_irq_init(int base)
|
||||
}
|
||||
|
||||
setup_irq(2, &ar7_cascade_action);
|
||||
setup_irq(ar7_irq_base, &ar7_sec_cascade_action);
|
||||
setup_irq(ar7_irq_base, &ar7_cascade_action);
|
||||
set_c0_status(IE_IRQ0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user