提交 86abc23e 编写于 作者: Y Yong Zhang 提交者: Guan Xuetao

unicore32: Remove IRQF_DISABLED

This flag is a NOOP and can be removed now.
Signed-off-by: NYong Zhang <yong.zhang0@gmail.com>
上级 7037bd80
...@@ -123,7 +123,7 @@ int __init mach_nb0916_init(void) ...@@ -123,7 +123,7 @@ int __init mach_nb0916_init(void)
if (request_irq(gpio_to_irq(GPI_LCD_CASE_OFF), if (request_irq(gpio_to_irq(GPI_LCD_CASE_OFF),
&nb0916_lcdcaseoff_handler, &nb0916_lcdcaseoff_handler,
IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
"NB0916 lcd case off", NULL) < 0) { "NB0916 lcd case off", NULL) < 0) {
printk(KERN_DEBUG "LCD-Case-OFF IRQ %d not available\n", printk(KERN_DEBUG "LCD-Case-OFF IRQ %d not available\n",
...@@ -131,7 +131,7 @@ int __init mach_nb0916_init(void) ...@@ -131,7 +131,7 @@ int __init mach_nb0916_init(void)
} }
if (request_irq(gpio_to_irq(GPI_OTP_INT), &nb0916_overheat_handler, if (request_irq(gpio_to_irq(GPI_OTP_INT), &nb0916_overheat_handler,
IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
"NB0916 overheating protection", NULL) < 0) { "NB0916 overheating protection", NULL) < 0) {
printk(KERN_DEBUG "Overheating Protection IRQ %d not available\n", printk(KERN_DEBUG "Overheating Protection IRQ %d not available\n",
......
...@@ -86,7 +86,7 @@ static struct clocksource cksrc_puv3_oscr = { ...@@ -86,7 +86,7 @@ static struct clocksource cksrc_puv3_oscr = {
static struct irqaction puv3_timer_irq = { static struct irqaction puv3_timer_irq = {
.name = "ost0", .name = "ost0",
.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, .flags = IRQF_TIMER | IRQF_IRQPOLL,
.handler = puv3_ost0_interrupt, .handler = puv3_ost0_interrupt,
.dev_id = &ckevt_puv3_osmr0, .dev_id = &ckevt_puv3_osmr0,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册