Skip to contentSkip to conversation

remoteproc/omap: fix a sparse warning

PATCH Applied Suman Anna 2 participants 2 messages May 31, 2013 – Jul 1, 2013

lore
Share & tools
lore

Suman Anna

author
#0 lore raw

PATCH 2/3 remoteproc/omap: fix a sparse warning

This patch fixes a sparse warning in the omap remoteproc code when OMAP_REMOTEPROC is disabled.

include/linux/platform_data/remoteproc-omap.h:76:13: warning: symbol 'omap_rproc_reserve_cma' was not declared. Should it be static?

---
 include/linux/platform_data/remoteproc-omap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/platform_data/remoteproc-omap.h +1 -1
index 3c1c644..bfbd12b 100644
@@ -50,7 +50,7 @@ void __init omap_rproc_reserve_cma(void);
 
 #else
 
-void __init omap_rproc_reserve_cma(void)
+static inline void __init omap_rproc_reserve_cma(void)
 {
 }
 
Signature · 1 line
1.8.2
#1 lore raw
Quoted 6 lines · Suman Anna

This patch fixes a sparse warning in the omap remoteproc code when OMAP_REMOTEPROC is disabled.

include/linux/platform_data/remoteproc-omap.h:76:13: warning: symbol 'omap_rproc_reserve_cma' was not declared. Should it be static?

Applied, thanks