aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-08-30 19:15:58 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-08-30 19:15:58 +0000
commit2ce5ad745df2d33c15ca20f267292e3cd761dc22 (patch)
treee8875be73b5751cda5f611e011e389b2f55c49fb /target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h
parent425a717aaa3688613ff5d3f5e7c67ec928dae5b0 (diff)
downloadmaster-187ad058-2ce5ad745df2d33c15ca20f267292e3cd761dc22.tar.gz
master-187ad058-2ce5ad745df2d33c15ca20f267292e3cd761dc22.tar.bz2
master-187ad058-2ce5ad745df2d33c15ca20f267292e3cd761dc22.zip
[ramips] share common INTC code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17440 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h')
-rw-r--r--target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h
new file mode 100644
index 0000000000..a04508758e
--- /dev/null
+++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/common.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ */
+
+#ifndef __ASM_MACH_RALINK_COMMON_H
+#define __ASM_MACH_RALINK_COMMON_H
+
+void __init ramips_intc_irq_init(unsigned intc_base, unsigned irq,
+ unsigned irq_base);
+u32 ramips_intc_get_status(void);
+
+#endif /* __ASM_MACH_RALINK_COMMON_H */