Commit 6cc7fbdf authored by Alexandre Belloni's avatar Alexandre Belloni

ARM: at91: pm: remove useless extern definition

at91_ramc_base is local to pm.c, remove its definition in pm.h
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 7ce7d89f
...@@ -55,7 +55,7 @@ static struct { ...@@ -55,7 +55,7 @@ static struct {
int memctrl; int memctrl;
} at91_pm_data; } 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) static int at91_pm_valid_state(suspend_state_t state)
{ {
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
#include <soc/at91/at91sam9_sdramc.h> #include <soc/at91/at91sam9_sdramc.h>
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
extern void __iomem *at91_ramc_base[];
#define at91_ramc_read(id, field) \ #define at91_ramc_read(id, field) \
__raw_readl(at91_ramc_base[id] + field) __raw_readl(at91_ramc_base[id] + field)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment