[PATCH v9 1/9] clk: mmp: Switch to use struct u32_fract instead of custom one
Stephen Boyd
sboyd at kernel.org
Thu Apr 11 00:56:54 PDT 2024
Quoting Duje Mihanović (2024-04-02 13:55:37)
> From: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
>
> The struct mmp_clk_factor_tbl repeats the generic struct u32_fract.
> Kill the custom one and use the generic one instead.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> Tested-by: Duje Mihanović <duje.mihanovic at skole.hr>
> Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
> Signed-off-by: Duje Mihanović <duje.mihanovic at skole.hr>
> ---
Reviewed-by: Stephen Boyd <sboyd at kernel.org>
>
> diff --git a/drivers/clk/mmp/clk.h b/drivers/clk/mmp/clk.h
> index 55ac05379781..c83cec169ddc 100644
> --- a/drivers/clk/mmp/clk.h
> +++ b/drivers/clk/mmp/clk.h
> @@ -3,6 +3,7 @@
> #define __MACH_MMP_CLK_H
>
> #include <linux/clk-provider.h>
> +#include <linux/math.h>
> #include <linux/pm_domain.h>
> #include <linux/clkdev.h>
>
This clkdev include should be dropped in another patch.
More information about the linux-arm-kernel
mailing list