genirq: Add chip suspend and resume callbacks
authorThomas Gleixner <tglx@linutronix.de>
Fri, 15 Apr 2011 20:36:08 +0000 (22:36 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 23 Apr 2011 13:56:24 +0000 (15:56 +0200)
commitcfefd21e693dca791bf9ecfc9dd3794facad533c
tree20915250e5c9749eea148cab17534b70c094386f
parent7d8280624797bbe2f5170bd3c85c75a8c9c74242
genirq: Add chip suspend and resume callbacks

These callbacks are only called in the syscore suspend/resume code on
interrupt chips which have been registered via the generic irq chip
mechanism. Calling those callbacks per irq would be rather icky, but
with the generic irq chip mechanism we can call this per registered
chip.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
include/linux/irq.h
kernel/irq/generic-chip.c