summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/setup.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-07-03 14:46:31 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-08-25 16:27:33 +0200
commit351a4ffea259a11deebe0eb169c46ccbfc3abd36 (patch)
tree8f8e32b8f0b0261280567dbb3576a71636d6f4c6 /arch/arm/mach-at91/setup.c
parentARM: at91/pm: Remove show_reset_status function (diff)
downloadlinux-351a4ffea259a11deebe0eb169c46ccbfc3abd36.tar.xz
linux-351a4ffea259a11deebe0eb169c46ccbfc3abd36.zip
ARM: at91: Remove rstc and shdwnc global base addresses
Now that there's no user left for the global variables holding the reset and shutdown controllers base address, we can remove these variables and their associated mapping function. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/setup.c')
-rw-r--r--arch/arm/mach-at91/setup.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index a46df6759c92..bf9b03df11f6 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm/mach-at91/setup.c
@@ -320,24 +320,6 @@ void __init at91_map_io(void)
at91_boot_soc.map_io();
}
-void __iomem *at91_shdwc_base = NULL;
-
-void __init at91_ioremap_shdwc(u32 base_addr)
-{
- at91_shdwc_base = ioremap(base_addr, 16);
- if (!at91_shdwc_base)
- panic(pr_fmt("Impossible to ioremap at91_shdwc_base\n"));
-}
-
-void __iomem *at91_rstc_base;
-
-void __init at91_ioremap_rstc(u32 base_addr)
-{
- at91_rstc_base = ioremap(base_addr, 16);
- if (!at91_rstc_base)
- panic(pr_fmt("Impossible to ioremap at91_rstc_base\n"));
-}
-
void __iomem *at91_matrix_base;
EXPORT_SYMBOL_GPL(at91_matrix_base);