提交 d8fe989e 编写于 作者: T Thomas Gleixner 提交者: Jesper Nilsson

cris: Fixup last users of irq_chip->typename

The typename member of struct irq_chip was kept for migration purposes
and is obsolete since more than 2 years. Fix up the leftovers.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Cc: Mikael Starvik <starvik@axis.com>
Cc: linux-cris-kernel@axis.com
Signed-off-by: NJesper Nilsson <jesper.nilsson@axis.com>
上级 f25234f1
...@@ -133,7 +133,7 @@ static void end_crisv10_irq(unsigned int irq) ...@@ -133,7 +133,7 @@ static void end_crisv10_irq(unsigned int irq)
} }
static struct irq_chip crisv10_irq_type = { static struct irq_chip crisv10_irq_type = {
.typename = "CRISv10", .name = "CRISv10",
.startup = startup_crisv10_irq, .startup = startup_crisv10_irq,
.shutdown = shutdown_crisv10_irq, .shutdown = shutdown_crisv10_irq,
.enable = enable_crisv10_irq, .enable = enable_crisv10_irq,
......
...@@ -336,7 +336,7 @@ int set_affinity_crisv32_irq(unsigned int irq, const struct cpumask *dest) ...@@ -336,7 +336,7 @@ int set_affinity_crisv32_irq(unsigned int irq, const struct cpumask *dest)
} }
static struct irq_chip crisv32_irq_type = { static struct irq_chip crisv32_irq_type = {
.typename = "CRISv32", .name = "CRISv32",
.startup = startup_crisv32_irq, .startup = startup_crisv32_irq,
.shutdown = shutdown_crisv32_irq, .shutdown = shutdown_crisv32_irq,
.enable = enable_crisv32_irq, .enable = enable_crisv32_irq,
......
...@@ -63,7 +63,7 @@ int show_interrupts(struct seq_file *p, void *v) ...@@ -63,7 +63,7 @@ int show_interrupts(struct seq_file *p, void *v)
for_each_online_cpu(j) for_each_online_cpu(j)
seq_printf(p, "%10u ", kstat_irqs_cpu(i, j)); seq_printf(p, "%10u ", kstat_irqs_cpu(i, j));
#endif #endif
seq_printf(p, " %14s", irq_desc[i].chip->typename); seq_printf(p, " %14s", irq_desc[i].chip->name);
seq_printf(p, " %s", action->name); seq_printf(p, " %s", action->name);
for (action=action->next; action; action = action->next) for (action=action->next; action; action = action->next)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册