summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-05-18 17:13:52 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-05-18 17:13:52 +0900
commitd66bd5f147cfeb4745aaa0c7e4ff6f7dd930b84f (patch)
treeee04270ea5a34258ce9c5478374946f915723df8 /arch/sh
parent26819fcbeaba45904d604f5b02ef1138d5268494 (diff)
downloadop-kernel-dev-d66bd5f147cfeb4745aaa0c7e4ff6f7dd930b84f.zip
op-kernel-dev-d66bd5f147cfeb4745aaa0c7e4ff6f7dd930b84f.tar.gz
sh: sdk7780 evt2irq migration.
Migrate sdk7780 to evt2irq backed hwirq lookups. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/include/mach-common/mach/sdk7780.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/include/mach-common/mach/sdk7780.h b/arch/sh/include/mach-common/mach/sdk7780.h
index 697dc86..ce64e02 100644
--- a/arch/sh/include/mach-common/mach/sdk7780.h
+++ b/arch/sh/include/mach-common/mach/sdk7780.h
@@ -11,6 +11,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
+#include <linux/sh_intc.h>
#include <asm/addrspace.h>
/* Box specific addresses. */
@@ -67,9 +68,9 @@
#define SDK7780_NR_IRL 15
/* IDE/ATA interrupt */
-#define IRQ_CFCARD 14
+#define IRQ_CFCARD evt2irq(0x3c0)
/* SMC interrupt */
-#define IRQ_ETHERNET 6
+#define IRQ_ETHERNET evt2irq(0x2c0)
/* arch/sh/boards/renesas/sdk7780/irq.c */
OpenPOWER on IntegriCloud