Rename no_irq_type to no_irq_chip.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned = {
[0 ... NR_IRQS-1] = {
.status = IRQ_DISABLED,
- .chip = &no_irq_type,
+ .chip = &no_irq_chip,
.handle_irq = handle_bad_irq,
.depth = 1,
.lock = SPIN_LOCK_UNLOCKED,
/*
* Generic no controller implementation
*/
-struct hw_interrupt_type no_irq_type = {
- .typename = "none",
+struct irq_chip no_irq_chip = {
+ .name = "none",
.startup = noop_ret,
.shutdown = noop,
.enable = noop,
if (irq >= NR_IRQS)
return -EINVAL;
- if (desc->chip == &no_irq_type)
+ if (desc->chip == &no_irq_chip)
return -ENOSYS;
/*
* Some drivers like serial.c use request_irq() heavily,
char name [MAX_NAMELEN];
if (!root_irq_dir ||
- (irq_desc[irq].chip == &no_irq_type) ||
+ (irq_desc[irq].chip == &no_irq_chip) ||
irq_desc[irq].dir)
return;