aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-09-30 07:02:01 -0400
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-02-17 11:53:03 -0500
commitaf719c18075f76f83e363bd13a97937b2e9f3f7d (patch)
tree070ddf1e9f8a895a5f01f8041904ea3684a5c46d /include/linux
parent4747639f01c9247250b351e02c179b337de7a159 (diff)
clk: at91: pmc: drop at91_pmc_base
at91_pmc_base is not used anymore, remove it along with at91_pmc_read and at91_pmc_write. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/clk/at91_pmc.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/clk/at91_pmc.h b/include/linux/clk/at91_pmc.h
index 1e6932222e11..17f413bbbedf 100644
--- a/include/linux/clk/at91_pmc.h
+++ b/include/linux/clk/at91_pmc.h
@@ -16,18 +16,6 @@
16#ifndef AT91_PMC_H 16#ifndef AT91_PMC_H
17#define AT91_PMC_H 17#define AT91_PMC_H
18 18
19#ifndef __ASSEMBLY__
20extern void __iomem *at91_pmc_base;
21
22#define at91_pmc_read(field) \
23 readl_relaxed(at91_pmc_base + field)
24
25#define at91_pmc_write(field, value) \
26 writel_relaxed(value, at91_pmc_base + field)
27#else
28.extern at91_pmc_base
29#endif
30
31#define AT91_PMC_SCER 0x00 /* System Clock Enable Register */ 19#define AT91_PMC_SCER 0x00 /* System Clock Enable Register */
32#define AT91_PMC_SCDR 0x04 /* System Clock Disable Register */ 20#define AT91_PMC_SCDR 0x04 /* System Clock Disable Register */
33 21