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: Semen Protsenko <semen.protsenko@globallogic.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
This commit is contained in:
Semen Protsenko 2015-01-24 22:28:39 +02:00 committed by Roger Quadros
parent 9c4f757ee9
commit 2e25b0ecf6

View File

@ -668,7 +668,7 @@ static void gpmc_cs_set_name(int cs, const char *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];