projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5797115
)
remoteproc/omap: fix a sparse warning
author
Suman Anna
<s-anna@ti.com>
Mon, 1 Jul 2013 12:30:51 +0000
(15:30 +0300)
committer
Ohad 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
patch
|
blob
|
history
diff --git
a/include/linux/platform_data/remoteproc-omap.h
b/include/linux/platform_data/remoteproc-omap.h
index
3c1c644
..
bfbd12b
100644
(file)
--- 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)
{
}