summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/pcm037.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 11:42:34 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 20:36:16 +0800
commit8321b758e08cae7fb02663f26efee4ba985c2ae5 (patch)
tree1a755f00abb35103c2c553eeb97616949faf91b6 /arch/arm/mach-imx/pcm037.h
parentbb13fabcca35fbce73f8cfbf238dacfa2a223006 (diff)
downloadlwn-8321b758e08cae7fb02663f26efee4ba985c2ae5.tar.gz
lwn-8321b758e08cae7fb02663f26efee4ba985c2ae5.zip
ARM: imx: use machine specific hook for late init
Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/pcm037.h')
-rw-r--r--arch/arm/mach-imx/pcm037.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/pcm037.h b/arch/arm/mach-imx/pcm037.h
index d6929721a5fd..7d167690e17d 100644
--- a/arch/arm/mach-imx/pcm037.h
+++ b/arch/arm/mach-imx/pcm037.h
@@ -8,4 +8,10 @@ enum pcm037_board_variant {
extern enum pcm037_board_variant pcm037_variant(void);
+#ifdef CONFIG_MACH_PCM037_EET
+int pcm037_eet_init_devices(void);
+#else
+static inline int pcm037_eet_init_devices(void) { return 0; }
+#endif
+
#endif