summaryrefslogtreecommitdiffstats
path: root/drivers/clk/at91/pmc.h
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-09-17 15:26:46 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-02-17 17:53:00 +0100
commitea52bc6467bb523b093b785648ce2322efc75c8e (patch)
tree61fab77e254787709702edf6a7fa78148bce86db /drivers/clk/at91/pmc.h
parentclk: at91: pmc: merge at91_pmc_init in atmel_pmc_probe (diff)
downloadlinux-ea52bc6467bb523b093b785648ce2322efc75c8e.tar.xz
linux-ea52bc6467bb523b093b785648ce2322efc75c8e.zip
clk: at91: pmc: move pmc structures to C file
pmc.c is now the only user of struct at91_pmc*, move their definition in the C file. 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 'drivers/clk/at91/pmc.h')
-rw-r--r--drivers/clk/at91/pmc.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/clk/at91/pmc.h b/drivers/clk/at91/pmc.h
index b06a332b056a..5771fff0ee3f 100644
--- a/drivers/clk/at91/pmc.h
+++ b/drivers/clk/at91/pmc.h
@@ -26,15 +26,6 @@ struct clk_range {
#define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,}
-struct at91_pmc_caps {
- u32 available_irqs;
-};
-
-struct at91_pmc {
- struct regmap *regmap;
- const struct at91_pmc_caps *caps;
-};
-
int of_at91_get_clk_range(struct device_node *np, const char *propname,
struct clk_range *range);