diff options
author | Semen Protsenko <semen.protsenko@globallogic.com> | 2015-01-24 22:28:39 +0200 |
---|---|---|
committer | Roger Quadros <rogerq@ti.com> | 2015-02-25 12:47:32 +0200 |
commit | 2e25b0ecf6d5fe8f5ebd244ef888397392f8ae07 (patch) | |
tree | 42228101ce44ca73dc562a92c1083484bed19829 /drivers/memory | |
parent | 9c4f757ee9c64623efec61672305f87452f68968 (diff) |
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>
Diffstat (limited to 'drivers/memory')
-rw-r--r-- | drivers/memory/omap-gpmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c index 10eb4ac4d324..db77adb236ae 100644 --- a/drivers/memory/omap-gpmc.c +++ b/drivers/memory/omap-gpmc.c @@ -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]; |