diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-17 15:26:46 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-02-17 17:53:00 +0100 |
commit | ea52bc6467bb523b093b785648ce2322efc75c8e (patch) | |
tree | 61fab77e254787709702edf6a7fa78148bce86db /drivers/clk/at91/pmc.c | |
parent | a5df602bd384c4b4a2f2869f07d6554767518a67 (diff) | |
download | linux-ea52bc6467bb523b093b785648ce2322efc75c8e.tar.gz linux-ea52bc6467bb523b093b785648ce2322efc75c8e.tar.bz2 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.c')
-rw-r--r-- | drivers/clk/at91/pmc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c index 01d049d4248a..0b255e7fc718 100644 --- a/drivers/clk/at91/pmc.c +++ b/drivers/clk/at91/pmc.c @@ -20,6 +20,15 @@ #include "pmc.h" +struct at91_pmc_caps { + u32 available_irqs; +}; + +struct at91_pmc { + struct regmap *regmap; + const struct at91_pmc_caps *caps; +}; + void __iomem *at91_pmc_base; EXPORT_SYMBOL_GPL(at91_pmc_base); |