]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clk: at91: pmc: move pmc structures to C file
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 17 Sep 2015 13:26:46 +0000 (15:26 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 17 Feb 2016 16:53:00 +0000 (17:53 +0100)
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>
drivers/clk/at91/pmc.c
drivers/clk/at91/pmc.h

index 01d049d4248a8f5761aeadf95b7e8f126fd8cd8a..0b255e7fc718d3614f26faabd9e6eeb89b1dd6af 100644 (file)
 
 #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);
 
index b06a332b056a3112a972944bf2c76ec0aaf92684..5771fff0ee3fdf345422baa54903b1864027f2c3 100644 (file)
@@ -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);