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

Commit 71f15909 authored by Junjie Wu's avatar Junjie Wu
Browse files

msm: clock: Move fixed_clk to clock-generic header



fixed_clk is a simple wrapper for struct clk. It should be in
clock-generic header instead of clock-local2.h

Change-Id: I24e42f91d84fe34cf29938f48979879ca7bf8f2c
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent db5cda42
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -75,15 +75,6 @@ static inline struct rcg_clk *to_rcg_clk(struct clk *clk)

extern struct clk_freq_tbl rcg_dummy_freq;

/**
 * struct fixed_clk - fixed rate clock (used for crystal oscillators)
 * @rate: output rate
 * @c: clk
 */
struct fixed_clk {
	struct clk c;
};

/**
 * struct branch_clk - branch clock
 * @set_rate: Set the frequency of this branch clock.
+8 −0
Original line number Diff line number Diff line
@@ -16,6 +16,14 @@

#include <linux/clk/msm-clk-provider.h>

/**
 * struct fixed_clk - fixed rate clock
 * @c: clk
 */
struct fixed_clk {
	struct clk c;
};

/* ==================== Mux clock ==================== */

struct clk_src {