2023-02-23 01:38:54

by Stephen Boyd

[permalink] [raw]
Subject: [PATCH] clk: qcom: apcs-msm8986: Include bitfield.h for FIELD_PREP

Otherwise some configurations fail.

Fixes: 027726365906 ("clk: qcom: add the driver for the MSM8996 APCS clocks")
Cc: Dmitry Baryshkov <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
---
drivers/clk/qcom/apcs-msm8996.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clk/qcom/apcs-msm8996.c b/drivers/clk/qcom/apcs-msm8996.c
index 7ec4022c5b43..3e91e9e6da74 100644
--- a/drivers/clk/qcom/apcs-msm8996.c
+++ b/drivers/clk/qcom/apcs-msm8996.c
@@ -7,6 +7,7 @@
*/

#include <linux/bits.h>
+#include <linux/bitfield.h>
#include <linux/clk-provider.h>
#include <linux/delay.h>
#include <linux/module.h>
--
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git



2023-02-23 02:11:08

by Dmitry Baryshkov

[permalink] [raw]
Subject: Re: [PATCH] clk: qcom: apcs-msm8986: Include bitfield.h for FIELD_PREP

On Thu, 23 Feb 2023 at 03:38, Stephen Boyd <[email protected]> wrote:
>
> Otherwise some configurations fail.
>
> Fixes: 027726365906 ("clk: qcom: add the driver for the MSM8996 APCS clocks")
> Cc: Dmitry Baryshkov <[email protected]>
> Signed-off-by: Stephen Boyd <[email protected]>

Reviewed-by: Dmitry Baryshkov <[email protected]>

> ---
> drivers/clk/qcom/apcs-msm8996.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/qcom/apcs-msm8996.c b/drivers/clk/qcom/apcs-msm8996.c
> index 7ec4022c5b43..3e91e9e6da74 100644
> --- a/drivers/clk/qcom/apcs-msm8996.c
> +++ b/drivers/clk/qcom/apcs-msm8996.c
> @@ -7,6 +7,7 @@
> */
>
> #include <linux/bits.h>
> +#include <linux/bitfield.h>
> #include <linux/clk-provider.h>
> #include <linux/delay.h>
> #include <linux/module.h>
> --
> https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
> https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git
>


--
With best wishes
Dmitry

2023-02-23 19:00:56

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: qcom: apcs-msm8986: Include bitfield.h for FIELD_PREP

Quoting Stephen Boyd (2023-02-22 17:38:47)
> Otherwise some configurations fail.
>
> Fixes: 027726365906 ("clk: qcom: add the driver for the MSM8996 APCS clocks")
> Cc: Dmitry Baryshkov <[email protected]>
> Signed-off-by: Stephen Boyd <[email protected]>
> ---

Applied to clk-next