summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorJason Liu <jason.hui@linaro.org>2011-08-26 13:35:22 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-26 08:50:59 +0200
commit8d75a2620dc3e33ce504044c375c443ed7ed4128 (patch)
tree1417a2339770f8119c6a92ad40d61b670210bad6 /arch/arm/plat-mxc
parentab116a86faf6aeafd0acf766c0c5d9475bf8493e (diff)
downloadlinux-8d75a2620dc3e33ce504044c375c443ed7ed4128.tar.gz
linux-8d75a2620dc3e33ce504044c375c443ed7ed4128.tar.bz2
linux-8d75a2620dc3e33ce504044c375c443ed7ed4128.zip
ARM: mx35: use generic function for displaying silicon revision
update to use generic function for displaying silicon revision Signed-off-by: Jason Liu <jason.hui@linaro.org> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r--arch/arm/plat-mxc/include/mach/mx3x.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx3x.h b/arch/arm/plat-mxc/include/mach/mx3x.h
index e1850f417226..30dbf424583e 100644
--- a/arch/arm/plat-mxc/include/mach/mx3x.h
+++ b/arch/arm/plat-mxc/include/mach/mx3x.h
@@ -187,14 +187,7 @@
/* Mandatory defines used globally */
#if !defined(__ASSEMBLY__) && !defined(__MXC_BOOT_UNCOMPRESS)
-extern unsigned int mx35_cpu_rev;
-extern void mx35_read_cpu_rev(void);
-
-static inline int mx35_revision(void)
-{
- return mx35_cpu_rev;
-}
-
+extern int mx35_revision(void);
extern int mx31_revision(void);
#endif