Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea52bc64 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

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: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent a5df602b
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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);

+0 −9
Original line number Diff line number Diff line
@@ -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);