clk: fixed_rate: export clk_fixed_rate
[oweals/u-boot.git] / drivers / clk / clk_fixed_rate.c
index 1fdf8c4e540a7962297c53038a01916d33a3f11f..08cce0d79b71033a7d387d4e6ffe045c04958b8a 100644 (file)
@@ -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)
 {