sh: intc: install enable, disable and shutdown callbacks
authorMagnus Damm <damm@igel.co.jp>
Wed, 1 Apr 2009 14:20:58 +0000 (14:20 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 2 Apr 2009 02:19:29 +0000 (11:19 +0900)
commitf7dd2548c471b1c7758611f6cd6393367d7ff649
tree244e2e172157a298daae60c6e84b0fd08031142d
parent3093e78ebab100ada1c724c9f751d9da39602a97
sh: intc: install enable, disable and shutdown callbacks

Modify the intc code to install a disable callback. The current
solution without a disable callback results in use of the
generic default_disable() function. This function is a no-op
so suspend_device_irqs() will not disable any intc interrupts
at suspend time without this patch. Also, install enable and
shutdown callbacks while at it.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/intc.c