[PATCH] ARM: imx: add mx25_revision() prototype
Ben Dooks
ben.dooks at codethink.co.uk
Thu Jun 9 05:04:15 PDT 2016
It looks like when this header was created, mx25_revision's
prototype was not added. Add it to fix the following warning:
arch/arm/mach-imx/cpu-imx25.c:44:5: warning: symbol 'mx25_revision' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
---
Cc: Shawn Guo <shawnguo at kernel.org>
Cc: Sascha Hauer <kernel at pengutronix.de>
Cc: linux-arm-kernel at lists.infradead.org
---
include/soc/imx/revision.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/soc/imx/revision.h b/include/soc/imx/revision.h
index 9ea3469..b10af49 100644
--- a/include/soc/imx/revision.h
+++ b/include/soc/imx/revision.h
@@ -25,6 +25,7 @@
#define IMX_CHIP_REVISION_3_3 0x33
#define IMX_CHIP_REVISION_UNKNOWN 0xff
+int mx25_revision(void);
int mx27_revision(void);
int mx31_revision(void);
int mx35_revision(void);
--
2.8.1
More information about the linux-arm-kernel
mailing list