diff options
author | Suman Anna <s-anna@ti.com> | 2013-07-01 16:30:51 +0400 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2013-07-01 16:30:51 +0400 |
commit | e4760363ea14b7b707ba68ab780c8ecf98a84c15 (patch) | |
tree | 8ed0ed2c1aaa28f91371a261bc735ecbf35055a5 /include/linux/platform_data/remoteproc-omap.h | |
parent | 57971159208757a37d44356764911703468a7ca3 (diff) | |
download | 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.h | 2 |
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) { } |