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)
commit84652e834b11d1d279e9073a94b320c85707a880
treef7d1650c5e88ee3a55100e9a367835ae75f2c646
parent3110df800c4de2724624d46e6bed27efc5e9a707
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