diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-09-27 12:37:15 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-01-11 13:21:24 +0100 |
commit | 6cc7fbdf8d931eefa2d0aabf0d2840e94ba09ae5 (patch) | |
tree | 85345216c80a59643c4317ce4589a306706a9195 /arch/arm/mach-at91 | |
parent | 7ce7d89f48834cefece7804d38fc5d85382edf77 (diff) | |
download | talos-obmc-linux-6cc7fbdf8d931eefa2d0aabf0d2840e94ba09ae5.tar.gz talos-obmc-linux-6cc7fbdf8d931eefa2d0aabf0d2840e94ba09ae5.zip |
ARM: at91: pm: remove useless extern definition
at91_ramc_base is local to pm.c, remove its definition in pm.h
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/pm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/pm.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index b4332b727e9c..3d89b7905bd9 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -55,7 +55,7 @@ static struct { int memctrl; } at91_pm_data; -void __iomem *at91_ramc_base[2]; +static void __iomem *at91_ramc_base[2]; static int at91_pm_valid_state(suspend_state_t state) { diff --git a/arch/arm/mach-at91/pm.h b/arch/arm/mach-at91/pm.h index 3fcf8810f14e..bf980c6ef294 100644 --- a/arch/arm/mach-at91/pm.h +++ b/arch/arm/mach-at91/pm.h @@ -18,8 +18,6 @@ #include <soc/at91/at91sam9_sdramc.h> #ifndef __ASSEMBLY__ -extern void __iomem *at91_ramc_base[]; - #define at91_ramc_read(id, field) \ __raw_readl(at91_ramc_base[id] + field) |