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>
This commit is contained in:
@ -328,7 +328,6 @@ struct irq_chip no_irq_chip = {
|
||||
.irq_ack = ack_bad,
|
||||
.startup = compat_noop_ret,
|
||||
.shutdown = compat_noop,
|
||||
.enable = compat_noop,
|
||||
.disable = compat_noop,
|
||||
.end = compat_noop,
|
||||
};
|
||||
@ -348,7 +347,6 @@ struct irq_chip dummy_irq_chip = {
|
||||
.irq_unmask = noop,
|
||||
.startup = compat_noop_ret,
|
||||
.shutdown = compat_noop,
|
||||
.enable = compat_noop,
|
||||
.disable = compat_noop,
|
||||
.end = compat_noop,
|
||||
};
|
||||
|
Reference in New Issue
Block a user