From 6cafd0ed52d3cbdbd1e659fdc1fcf6de1bf238a7 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Mon, 11 Jan 2010 03:18:57 +0100 Subject: [PATCH] jz4740: irq.c: Some cleanup --- .../xburst/files-2.6.31/arch/mips/jz4740/irq.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/target/linux/xburst/files-2.6.31/arch/mips/jz4740/irq.c b/target/linux/xburst/files-2.6.31/arch/mips/jz4740/irq.c index ebdeb1d37..274326399 100644 --- a/target/linux/xburst/files-2.6.31/arch/mips/jz4740/irq.c +++ b/target/linux/xburst/files-2.6.31/arch/mips/jz4740/irq.c @@ -1,18 +1,17 @@ /* - * linux/arch/mips/jz4740/irq.c - * - * JZ4740 interrupt routines. - * - * Copyright (c) 2006-2007 Ingenic Semiconductor Inc. - * Author: + * Copyright (C) 2009-2010, Lars-Peter Clausen + * JZ4740 platform IRQ support * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 675 Mass Ave, Cambridge, MA 02139, USA. + * */ -#include -#include #include #include @@ -78,7 +77,6 @@ static struct irq_chip intc_irq_type = { .mask = intc_irq_mask, .unmask = intc_irq_unmask, .ack = intc_irq_ack, - .end = intc_irq_end, .set_wake = intc_irq_set_wake, }; @@ -130,7 +128,6 @@ asmlinkage void plat_irq_dispatch(void) void jz4740_intc_suspend(void) { jz_intc_saved = readl(jz_intc_base + JZ_REG_INTC_MASK); - printk("intc wakeup: %d\n", jz_intc_wakeup); writel(~jz_intc_wakeup, jz_intc_base + JZ_REG_INTC_SET_MASK); }