diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-09-27 08:44:56 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-04 06:43:42 -0400 |
commit | c5f756344c390f629243b4a28c2bd198fdfd7ee9 (patch) | |
tree | 9bd1ce01615c9e29ccf970a6478d5eb75fe1ddde /kernel/irq/handle.c | |
parent | 0c5c15572ac096001f52d37b416f2a4be9aebb80 (diff) |
genirq: Provide compat handling for chip->enable()
Wrap the old chip function enable() until the migration is complete and
the old chip functions are removed.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20100927121842.437159182@linutronix.de>
Reviewed-by: H. Peter Anvin <hpa@zytor.com>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/irq/handle.c')
-rw-r--r-- | kernel/irq/handle.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index 9ba7aece0e4d..ac8c749dfee5 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c | |||
@@ -328,7 +328,6 @@ struct irq_chip no_irq_chip = { | |||
328 | .irq_ack = ack_bad, | 328 | .irq_ack = ack_bad, |
329 | .startup = compat_noop_ret, | 329 | .startup = compat_noop_ret, |
330 | .shutdown = compat_noop, | 330 | .shutdown = compat_noop, |
331 | .enable = compat_noop, | ||
332 | .disable = compat_noop, | 331 | .disable = compat_noop, |
333 | .end = compat_noop, | 332 | .end = compat_noop, |
334 | }; | 333 | }; |
@@ -348,7 +347,6 @@ struct irq_chip dummy_irq_chip = { | |||
348 | .irq_unmask = noop, | 347 | .irq_unmask = noop, |
349 | .startup = compat_noop_ret, | 348 | .startup = compat_noop_ret, |
350 | .shutdown = compat_noop, | 349 | .shutdown = compat_noop, |
351 | .enable = compat_noop, | ||
352 | .disable = compat_noop, | 350 | .disable = compat_noop, |
353 | .end = compat_noop, | 351 | .end = compat_noop, |
354 | }; | 352 | }; |