linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [TRIVIAL] ARM: msm: fix compilation error in gpiomux
@ 2013-08-07  6:34 Krzysztof Kozlowski
  2013-08-07 17:40 ` David Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2013-08-07  6:34 UTC (permalink / raw)
  To: linux-arm-kernel

Fix compilation error in gpiomux (CONFIG_MSM_GPIOMUX=y):
arch/arm/mach-msm/gpiomux.c:24:13: error: static declaration of
	?__msm_gpiomux_write? follows non-static declaration
arch/arm/mach-msm/gpiomux.h:85:6: note: previous declaration of
	?__msm_gpiomux_write? was here

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 arch/arm/mach-msm/gpiomux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-msm/gpiomux.c b/arch/arm/mach-msm/gpiomux.c
index 2b8e2d2..4110b82 100644
--- a/arch/arm/mach-msm/gpiomux.c
+++ b/arch/arm/mach-msm/gpiomux.c
@@ -21,7 +21,7 @@
 
 static DEFINE_SPINLOCK(gpiomux_lock);
 
-static void __msm_gpiomux_write(unsigned gpio, gpiomux_config_t val)
+void __msm_gpiomux_write(unsigned gpio, gpiomux_config_t val)
 {
 	unsigned tlmm_config  = (val & ~GPIOMUX_CTL_MASK) |
 				((gpio & 0x3ff) << 4);
-- 
1.7.9.5

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

end of thread, other threads:[~2013-08-09 18:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-07  6:34 [PATCH] [TRIVIAL] ARM: msm: fix compilation error in gpiomux Krzysztof Kozlowski
2013-08-07 17:40 ` David Brown
2013-08-07 21:08   ` Stephen Boyd
2013-08-08  6:32     ` Krzysztof Kozlowski
2013-08-08 22:17       ` Rohit Vaswani
2013-08-09 18:00         ` David Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).