mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
sh64: cleanup struct irqaction initializers.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
090495b54f
commit
948d12cbc3
@ -476,8 +476,18 @@ static irqreturn_t sh64_rtc_interrupt(int irq, void *dev_id)
|
|||||||
return IRQ_HANDLED;
|
return IRQ_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqaction irq0 = { timer_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "timer", NULL, NULL};
|
static struct irqaction irq0 = {
|
||||||
static struct irqaction irq1 = { sh64_rtc_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "rtc", NULL, NULL};
|
.handler = timer_interrupt,
|
||||||
|
.flags = IRQF_DISABLED,
|
||||||
|
.mask = CPU_MASK_NONE,
|
||||||
|
.name = "timer",
|
||||||
|
};
|
||||||
|
static struct irqaction irq1 = {
|
||||||
|
.handler = sh64_rtc_interrupt,
|
||||||
|
.flags = IRQF_DISABLED,
|
||||||
|
.mask = CPU_MASK_NONE,
|
||||||
|
.name = "rtc",
|
||||||
|
};
|
||||||
|
|
||||||
void __init time_init(void)
|
void __init time_init(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user