Commit f1c2662cbc6a0a9772655649bdf579803d33470b

Authored by Ingo Molnar
Committed by Linus Torvalds
1 parent e76de9f8eb

[PATCH] genirq: cleanup: no_irq_type -> no_irq_chip rename

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>

Showing 3 changed files with 5 additions and 5 deletions Side-by-side Diff

... ... @@ -45,7 +45,7 @@
45 45 struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned = {
46 46 [0 ... NR_IRQS-1] = {
47 47 .status = IRQ_DISABLED,
48   - .chip = &no_irq_type,
  48 + .chip = &no_irq_chip,
49 49 .handle_irq = handle_bad_irq,
50 50 .depth = 1,
51 51 .lock = SPIN_LOCK_UNLOCKED,
... ... @@ -79,8 +79,8 @@
79 79 /*
80 80 * Generic no controller implementation
81 81 */
82   -struct hw_interrupt_type no_irq_type = {
83   - .typename = "none",
  82 +struct irq_chip no_irq_chip = {
  83 + .name = "none",
84 84 .startup = noop_ret,
85 85 .shutdown = noop,
86 86 .enable = noop,
... ... @@ -199,7 +199,7 @@
199 199 if (irq >= NR_IRQS)
200 200 return -EINVAL;
201 201  
202   - if (desc->chip == &no_irq_type)
  202 + if (desc->chip == &no_irq_chip)
203 203 return -ENOSYS;
204 204 /*
205 205 * Some drivers like serial.c use request_irq() heavily,
... ... @@ -117,7 +117,7 @@
117 117 char name [MAX_NAMELEN];
118 118  
119 119 if (!root_irq_dir ||
120   - (irq_desc[irq].chip == &no_irq_type) ||
  120 + (irq_desc[irq].chip == &no_irq_chip) ||
121 121 irq_desc[irq].dir)
122 122 return;
123 123