aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/ints-priority.c
diff options
context:
space:
mode:
authorGraf Yang <graf.yang@analog.com>2008-10-08 05:08:15 -0400
committerBryan Wu <cooloney@kernel.org>2008-10-08 05:08:15 -0400
commit763e63c640ae799e3ce6495e71832744bffc661b (patch)
treebfe35eb8b631e8ff8ea248f9e5138d28489a77fc /arch/blackfin/mach-common/ints-priority.c
parentca87b7ad00a620f259048fdfb27dc2a5384c1e4e (diff)
Blackfin arch: add a meaningful name for each irqchip
Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-common/ints-priority.c')
-rw-r--r--arch/blackfin/mach-common/ints-priority.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c
index ff4d5c2879a5..f65b3a13a8c3 100644
--- a/arch/blackfin/mach-common/ints-priority.c
+++ b/arch/blackfin/mach-common/ints-priority.c
@@ -243,12 +243,14 @@ int bfin_internal_set_wake(unsigned int irq, unsigned int state)
243#endif 243#endif
244 244
245static struct irq_chip bfin_core_irqchip = { 245static struct irq_chip bfin_core_irqchip = {
246 .name = "CORE",
246 .ack = bfin_ack_noop, 247 .ack = bfin_ack_noop,
247 .mask = bfin_core_mask_irq, 248 .mask = bfin_core_mask_irq,
248 .unmask = bfin_core_unmask_irq, 249 .unmask = bfin_core_unmask_irq,
249}; 250};
250 251
251static struct irq_chip bfin_internal_irqchip = { 252static struct irq_chip bfin_internal_irqchip = {
253 .name = "INTN",
252 .ack = bfin_ack_noop, 254 .ack = bfin_ack_noop,
253 .mask = bfin_internal_mask_irq, 255 .mask = bfin_internal_mask_irq,
254 .unmask = bfin_internal_unmask_irq, 256 .unmask = bfin_internal_unmask_irq,
@@ -278,6 +280,7 @@ static void bfin_generic_error_unmask_irq(unsigned int irq)
278} 280}
279 281
280static struct irq_chip bfin_generic_error_irqchip = { 282static struct irq_chip bfin_generic_error_irqchip = {
283 .name = "ERROR",
281 .ack = bfin_ack_noop, 284 .ack = bfin_ack_noop,
282 .mask_ack = bfin_generic_error_mask_irq, 285 .mask_ack = bfin_generic_error_mask_irq,
283 .mask = bfin_generic_error_mask_irq, 286 .mask = bfin_generic_error_mask_irq,
@@ -495,6 +498,7 @@ int bfin_gpio_set_wake(unsigned int irq, unsigned int state)
495#endif 498#endif
496 499
497static struct irq_chip bfin_gpio_irqchip = { 500static struct irq_chip bfin_gpio_irqchip = {
501 .name = "GPIO",
498 .ack = bfin_gpio_ack_irq, 502 .ack = bfin_gpio_ack_irq,
499 .mask = bfin_gpio_mask_irq, 503 .mask = bfin_gpio_mask_irq,
500 .mask_ack = bfin_gpio_mask_ack_irq, 504 .mask_ack = bfin_gpio_mask_ack_irq,
@@ -884,6 +888,7 @@ void bfin_pm_restore(void)
884#endif 888#endif
885 889
886static struct irq_chip bfin_gpio_irqchip = { 890static struct irq_chip bfin_gpio_irqchip = {
891 .name = "GPIO",
887 .ack = bfin_gpio_ack_irq, 892 .ack = bfin_gpio_ack_irq,
888 .mask = bfin_gpio_mask_irq, 893 .mask = bfin_gpio_mask_irq,
889 .mask_ack = bfin_gpio_mask_ack_irq, 894 .mask_ack = bfin_gpio_mask_ack_irq,