diff options
author | Peng Fan <peng.fan@nxp.com> | 2019-07-31 07:01:39 +0000 |
---|---|---|
committer | Lukasz Majewski <lukma@denx.de> | 2019-07-31 09:20:51 +0200 |
commit | 4f305bf1b688ecb9508a2d74fa76ff34e90bc21f (patch) | |
tree | efda2f763141a3d39e4d8029bbede6d950bcd057 /drivers/clk/clk_fixed_rate.c | |
parent | fe69b030deed82cb0364e8dfb1b7d1ea9dbec063 (diff) | |
download | u-boot-4f305bf1b688ecb9508a2d74fa76ff34e90bc21f.zip u-boot-4f305bf1b688ecb9508a2d74fa76ff34e90bc21f.tar.gz u-boot-4f305bf1b688ecb9508a2d74fa76ff34e90bc21f.tar.bz2 |
clk: fixed_rate: export clk_fixed_rate
Export the structure for others to use.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'drivers/clk/clk_fixed_rate.c')
-rw-r--r-- | drivers/clk/clk_fixed_rate.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/clk/clk_fixed_rate.c b/drivers/clk/clk_fixed_rate.c index 1fdf8c4..08cce0d 100644 --- a/drivers/clk/clk_fixed_rate.c +++ b/drivers/clk/clk_fixed_rate.c @@ -6,13 +6,7 @@ #include <common.h> #include <clk-uclass.h> #include <dm.h> - -struct clk_fixed_rate { - struct clk clk; - unsigned long fixed_rate; -}; - -#define to_clk_fixed_rate(dev) ((struct clk_fixed_rate *)dev_get_platdata(dev)) +#include <linux/clk-provider.h> static ulong clk_fixed_rate_get_rate(struct clk *clk) { |