]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45a73f35cd9f1ae6467818b0bfdfbb0b12a5b9aa
tree244e2e172157a298daae60c6e84b0fd08031142d
parent99a06e44e8d421bca4fd91d743f85cf41eae1d11
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