summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@gmail.com>2013-06-03 02:02:59 (GMT)
committerHaojian Zhuang <haojian.zhuang@gmail.com>2013-08-24 09:44:45 (GMT)
commit0f102b6ccec15c057d4d82f9731e6b780c9f8132 (patch)
tree3a2495647fc0610bd925b996e628e30ea6569c46 /include
parent0f374561b50df8f29e3427717b35dd57c7ac4ca4 (diff)
downloadlinux-fsl-qoriq-0f102b6ccec15c057d4d82f9731e6b780c9f8132.tar.xz
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')
-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 */