All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: imx: add mx25_revision() prototype
@ 2016-06-09 12:02 Ben Dooks
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Dooks @ 2016-06-09 12:02 UTC (permalink / raw)
  To: linux-arm-kernel

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@codethink.co.uk>
---
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: imx: add mx25_revision() prototype
@ 2016-06-09 12:04 Ben Dooks
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Dooks @ 2016-06-09 12:04 UTC (permalink / raw)
  To: linux-arm-kernel

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@codethink.co.uk>
---
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-09 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-09 12:02 [PATCH] ARM: imx: add mx25_revision() prototype Ben Dooks
2016-06-09 12:04 Ben Dooks

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.