summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/remoteproc-omap.h
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2013-07-01 15:30:51 +0300
committerOhad Ben-Cohen <ohad@wizery.com>2013-07-01 15:30:51 +0300
commite4760363ea14b7b707ba68ab780c8ecf98a84c15 (patch)
tree8ed0ed2c1aaa28f91371a261bc735ecbf35055a5 /include/linux/platform_data/remoteproc-omap.h
parent57971159208757a37d44356764911703468a7ca3 (diff)
downloadlinux-e4760363ea14b7b707ba68ab780c8ecf98a84c15.tar.gz
linux-e4760363ea14b7b707ba68ab780c8ecf98a84c15.tar.xz
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? Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'include/linux/platform_data/remoteproc-omap.h')
-rw-r--r--include/linux/platform_data/remoteproc-omap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/remoteproc-omap.h b/include/linux/platform_data/remoteproc-omap.h
index 3c1c6444ec4b..bfbd12b41162 100644
--- a/include/linux/platform_data/remoteproc-omap.h
+++ b/include/linux/platform_data/remoteproc-omap.h
@@ -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)
{
}