summaryrefslogtreecommitdiffstats
path: root/include/linux/irqchip/mmp.h
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@gmail.com>2013-06-03 10:02:59 +0800
committerHaojian Zhuang <haojian.zhuang@gmail.com>2013-08-24 17:44:45 +0800
commit0f102b6ccec15c057d4d82f9731e6b780c9f8132 (patch)
tree3a2495647fc0610bd925b996e628e30ea6569c46 /include/linux/irqchip/mmp.h
parent0f374561b50df8f29e3427717b35dd57c7ac4ca4 (diff)
downloadop-kernel-dev-0f102b6ccec15c057d4d82f9731e6b780c9f8132.zip
op-kernel-dev-0f102b6ccec15c057d4d82f9731e6b780c9f8132.tar.gz
ARM: mmp: avoid to include head file in mach-mmp
pxa910_set_wake() & mmp2_set_wake() are both declared in head files of arch/arm/mach-mmp/include/mach directory. If we include these head files in irq-mmp driver, it blocks the multiplatform build. So adjust the code. Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'include/linux/irqchip/mmp.h')
-rw-r--r--include/linux/irqchip/mmp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/irqchip/mmp.h b/include/linux/irqchip/mmp.h
new file mode 100644
index 0000000..c78a892
--- /dev/null
+++ b/include/linux/irqchip/mmp.h
@@ -0,0 +1,6 @@
+#ifndef __IRQCHIP_MMP_H
+#define __IRQCHIP_MMP_H
+
+extern struct irq_chip icu_irq_chip;
+
+#endif /* __IRQCHIP_MMP_H */
OpenPOWER on IntegriCloud