Skip to content

Commit

Permalink
remoteproc/omap: fix a sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Suman Anna authored and Ohad Ben-Cohen committed Jul 1, 2013
1 parent 5797115 commit e476036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/platform_data/remoteproc-omap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}

Expand Down

0 comments on commit e476036

Please sign in to comment.