summaryrefslogtreecommitdiffstats
path: root/drivers/memory
diff options
context:
space:
mode:
authorSemen Protsenko <semen.protsenko@globallogic.com>2015-01-24 21:28:39 +0100
committerRoger Quadros <rogerq@ti.com>2015-02-25 11:47:32 +0100
commit2e25b0ecf6d5fe8f5ebd244ef888397392f8ae07 (patch)
tree42228101ce44ca73dc562a92c1083484bed19829 /drivers/memory
parentARM: OMAP2+: gpmc: Fix writing in gpmc_cs_set_memconf (diff)
downloadlinux-2e25b0ecf6d5fe8f5ebd244ef888397392f8ae07.tar.xz
linux-2e25b0ecf6d5fe8f5ebd244ef888397392f8ae07.zip
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.c2
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];