]> git.baikalelectronics.ru Git - kernel.git/commit
PM / MIPS: Convert i8259.c to using syscore_ops
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 15 Jul 2011 22:59:54 +0000 (00:59 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 15 Jul 2011 22:59:54 +0000 (00:59 +0200)
commit51b91b195e0432c2476659a0e204a589d876677a
treef7d1650c5e88ee3a55100e9a367835ae75f2c646
parent8fc9ff9f774438661766370b507a47c392de01f5
PM / MIPS: Convert i8259.c to using syscore_ops

The code in arch/mips/kernel/i8259.c still hasn't been converted to
using struct syscore_ops instead of a sysdev for resume and shutdown.
As a result, this code doesn't build any more after suspend, resume
and shutdown callbacks have been removed from struct sysdev_class.
Fix this problem by converting i8259.c to using syscore_ops.

Reported-and-tested-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/i8259.c