提交 763e63c6 编写于 作者: G Graf Yang 提交者: Bryan Wu

Blackfin arch: add a meaningful name for each irqchip

Signed-off-by: NGraf Yang <graf.yang@analog.com>
Signed-off-by: NBryan Wu <cooloney@kernel.org>
上级 ca87b7ad
...@@ -243,12 +243,14 @@ int bfin_internal_set_wake(unsigned int irq, unsigned int state) ...@@ -243,12 +243,14 @@ int bfin_internal_set_wake(unsigned int irq, unsigned int state)
#endif #endif
static struct irq_chip bfin_core_irqchip = { static struct irq_chip bfin_core_irqchip = {
.name = "CORE",
.ack = bfin_ack_noop, .ack = bfin_ack_noop,
.mask = bfin_core_mask_irq, .mask = bfin_core_mask_irq,
.unmask = bfin_core_unmask_irq, .unmask = bfin_core_unmask_irq,
}; };
static struct irq_chip bfin_internal_irqchip = { static struct irq_chip bfin_internal_irqchip = {
.name = "INTN",
.ack = bfin_ack_noop, .ack = bfin_ack_noop,
.mask = bfin_internal_mask_irq, .mask = bfin_internal_mask_irq,
.unmask = bfin_internal_unmask_irq, .unmask = bfin_internal_unmask_irq,
...@@ -278,6 +280,7 @@ static void bfin_generic_error_unmask_irq(unsigned int irq) ...@@ -278,6 +280,7 @@ static void bfin_generic_error_unmask_irq(unsigned int irq)
} }
static struct irq_chip bfin_generic_error_irqchip = { static struct irq_chip bfin_generic_error_irqchip = {
.name = "ERROR",
.ack = bfin_ack_noop, .ack = bfin_ack_noop,
.mask_ack = bfin_generic_error_mask_irq, .mask_ack = bfin_generic_error_mask_irq,
.mask = bfin_generic_error_mask_irq, .mask = bfin_generic_error_mask_irq,
...@@ -495,6 +498,7 @@ int bfin_gpio_set_wake(unsigned int irq, unsigned int state) ...@@ -495,6 +498,7 @@ int bfin_gpio_set_wake(unsigned int irq, unsigned int state)
#endif #endif
static struct irq_chip bfin_gpio_irqchip = { static struct irq_chip bfin_gpio_irqchip = {
.name = "GPIO",
.ack = bfin_gpio_ack_irq, .ack = bfin_gpio_ack_irq,
.mask = bfin_gpio_mask_irq, .mask = bfin_gpio_mask_irq,
.mask_ack = bfin_gpio_mask_ack_irq, .mask_ack = bfin_gpio_mask_ack_irq,
...@@ -884,6 +888,7 @@ void bfin_pm_restore(void) ...@@ -884,6 +888,7 @@ void bfin_pm_restore(void)
#endif #endif
static struct irq_chip bfin_gpio_irqchip = { static struct irq_chip bfin_gpio_irqchip = {
.name = "GPIO",
.ack = bfin_gpio_ack_irq, .ack = bfin_gpio_ack_irq,
.mask = bfin_gpio_mask_irq, .mask = bfin_gpio_mask_irq,
.mask_ack = bfin_gpio_mask_ack_irq, .mask_ack = bfin_gpio_mask_ack_irq,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册