From 0f0d85bcc332ec8f0957378ea5fa3e553f80ae4b Mon Sep 17 00:00:00 2001 From: Manuel Lauss Date: Tue, 13 Apr 2010 20:49:14 +0200 Subject: MIPS: Alchemy: add sysdev for IRQ PM. Use a sysdev to implement PM methods for the Au1000 interrupt controllers. Signed-off-by: Manuel Lauss To: Linux-MIPS Patchwork: http://patchwork.linux-mips.org/patch/1114/ Signed-off-by: Ralf Baechle --- arch/mips/alchemy/common/power.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'arch/mips/alchemy/common/power.c') diff --git a/arch/mips/alchemy/common/power.c b/arch/mips/alchemy/common/power.c index 6ab7b42aa1be..11e5ec748414 100644 --- a/arch/mips/alchemy/common/power.c +++ b/arch/mips/alchemy/common/power.c @@ -106,9 +106,6 @@ static void save_core_regs(void) sleep_usb[1] = au_readl(0xb4020024); /* OTG_MUX */ #endif - /* Save interrupt controller state. */ - save_au1xxx_intctl(); - /* Clocks and PLLs. */ sleep_sys_clocks[0] = au_readl(SYS_FREQCTRL0); sleep_sys_clocks[1] = au_readl(SYS_FREQCTRL1); @@ -200,8 +197,6 @@ static void restore_core_regs(void) au_writel(sleep_uart0_clkdiv, UART0_ADDR + UART_CLK); au_sync(); } - restore_au1xxx_intctl(); - #if defined(CONFIG_SOC_AU1550) || defined(CONFIG_SOC_AU1200) au1xxx_dbdma_resume(); #endif -- cgit v1.2.3