From: Suman Anna Date: Mon, 1 Jul 2013 12:30:51 +0000 (+0300) Subject: remoteproc/omap: fix a sparse warning X-Git-Tag: v3.11-rc1~24^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e4760363ea14b7b707ba68ab780c8ecf98a84c15;p=karo-tx-linux.git 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 Signed-off-by: Ohad Ben-Cohen --- 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) { }