|
@@ -496,7 +496,7 @@ struct tegra_clk_periph_gate {
|
|
|
u8 flags;
|
|
|
int clk_num;
|
|
|
int *enable_refcnt;
|
|
|
- struct tegra_clk_periph_regs *regs;
|
|
|
+ const struct tegra_clk_periph_regs *regs;
|
|
|
};
|
|
|
|
|
|
#define to_clk_periph_gate(_hw) \
|
|
@@ -716,7 +716,7 @@ void tegra_init_from_table(struct tegra_clk_init_table *tbl,
|
|
|
void tegra_init_dup_clks(struct tegra_clk_duplicate *dup_list,
|
|
|
struct clk *clks[], int clk_max);
|
|
|
|
|
|
-struct tegra_clk_periph_regs *get_reg_bank(int clkid);
|
|
|
+const struct tegra_clk_periph_regs *get_reg_bank(int clkid);
|
|
|
struct clk **tegra_clk_init(void __iomem *clk_base, int num, int periph_banks);
|
|
|
|
|
|
struct clk **tegra_lookup_dt_id(int clk_id, struct tegra_clk *tegra_clk);
|