summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/mach-common
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-05-18 10:13:52 +0200
committerPaul Mundt <lethal@linux-sh.org>2012-05-18 10:13:52 +0200
commitd66bd5f147cfeb4745aaa0c7e4ff6f7dd930b84f (patch)
treeee04270ea5a34258ce9c5478374946f915723df8 /arch/sh/include/mach-common
parentsh: migor evt2irq migration. (diff)
downloadlinux-d66bd5f147cfeb4745aaa0c7e4ff6f7dd930b84f.tar.xz
linux-d66bd5f147cfeb4745aaa0c7e4ff6f7dd930b84f.zip
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/include/mach-common')
-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 697dc865f21b..ce64e02e9b50 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 */