提交 2e25b0ec 编写于 作者: S Semen Protsenko 提交者: Roger Quadros

ARM: OMAP2+: gpmc: make gpmc_cs_get_name() static

Fix sparse warning:
  warning: symbol 'gpmc_cs_get_name' was not declared. Should it be static?
Signed-off-by: NSemen Protsenko <semen.protsenko@globallogic.com>
Acked-by: NTony Lindgren <tony@atomide.com>
Signed-off-by: NRoger Quadros <rogerq@ti.com>
上级 9c4f757e
...@@ -668,7 +668,7 @@ static void gpmc_cs_set_name(int cs, const char *name) ...@@ -668,7 +668,7 @@ static void gpmc_cs_set_name(int cs, const char *name)
gpmc->name = name; gpmc->name = name;
} }
const char *gpmc_cs_get_name(int cs) static const char *gpmc_cs_get_name(int cs)
{ {
struct gpmc_cs_data *gpmc = &gpmc_cs[cs]; struct gpmc_cs_data *gpmc = &gpmc_cs[cs];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册