remoteproc/omap: fix a sparse warning
authorSuman Anna <s-anna@ti.com>
Mon, 1 Jul 2013 12:30:51 +0000 (15:30 +0300)
committerOhad Ben-Cohen <ohad@wizery.com>
Mon, 1 Jul 2013 12:30:51 +0000 (15:30 +0300)
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?

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
include/linux/platform_data/remoteproc-omap.h

index 3c1c6444ec4b7f87c39ce8645441ba20bcc2cd77..bfbd12b41162bcca18a67be96e070629bbbe841e 100644 (file)
@@ -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)
 {
 }
 
This page took 0.025636 seconds and 5 git commands to generate.