diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2013-03-27 13:30:37 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-12 07:01:44 -0400 |
commit | b1a3582dc6f1f85a56b60f688305a5194e266e02 (patch) | |
tree | d85216c08fc4629ed8c16c7c7c5ec4335f704bad /arch/arm/mach-imx | |
parent | 686631042325a209766be89b5566b426875ca05e (diff) |
ARM i.MX6q: export imx6q_revision
So it can be used in clk-imx6q.c for revision dependent clock tree setup.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/common.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index bcb11b1751d8..4cba7dbb079f 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h | |||
@@ -74,6 +74,7 @@ extern void mxc_set_cpu_type(unsigned int type); | |||
74 | extern void mxc_restart(char, const char *); | 74 | extern void mxc_restart(char, const char *); |
75 | extern void mxc_arch_reset_init(void __iomem *); | 75 | extern void mxc_arch_reset_init(void __iomem *); |
76 | extern int mx53_revision(void); | 76 | extern int mx53_revision(void); |
77 | extern int imx6q_revision(void); | ||
77 | extern int mx53_display_revision(void); | 78 | extern int mx53_display_revision(void); |
78 | extern void imx_set_aips(void __iomem *); | 79 | extern void imx_set_aips(void __iomem *); |
79 | extern int mxc_device_init(void); | 80 | extern int mxc_device_init(void); |
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 31aee4d5fcdd..0af330d7e592 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include "cpuidle.h" | 39 | #include "cpuidle.h" |
40 | #include "hardware.h" | 40 | #include "hardware.h" |
41 | 41 | ||
42 | static int imx6q_revision(void) | 42 | int imx6q_revision(void) |
43 | { | 43 | { |
44 | static u32 rev; | 44 | static u32 rev; |
45 | 45 | ||