All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] remoteproc/omap: fix a sparse warning
@ 2013-05-31 21:16 Suman Anna
  2013-07-01 14:17 ` Ohad Ben-Cohen
  0 siblings, 1 reply; 2+ messages in thread
From: Suman Anna @ 2013-05-31 21:16 UTC (permalink / raw)
  To: Ohad Ben-Cohen; +Cc: linux-kernel, Suman Anna

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>
---
 include/linux/platform_data/remoteproc-omap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/platform_data/remoteproc-omap.h b/include/linux/platform_data/remoteproc-omap.h
index 3c1c644..bfbd12b 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)
 {
 }
 
-- 
1.8.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/3] remoteproc/omap: fix a sparse warning
  2013-05-31 21:16 [PATCH 2/3] remoteproc/omap: fix a sparse warning Suman Anna
@ 2013-07-01 14:17 ` Ohad Ben-Cohen
  0 siblings, 0 replies; 2+ messages in thread
From: Ohad Ben-Cohen @ 2013-07-01 14:17 UTC (permalink / raw)
  To: Suman Anna; +Cc: linux-kernel

On Sat, Jun 1, 2013 at 12:16 AM, Suman Anna <s-anna@ti.com> wrote:
> 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>

Applied, thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-01 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-31 21:16 [PATCH 2/3] remoteproc/omap: fix a sparse warning Suman Anna
2013-07-01 14:17 ` Ohad Ben-Cohen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.