clk: qcom: apcs-msm8986: Include bitfield.h for FIELD_PREP

Message ID 20230223013847.1218900-1-sboyd@kernel.org
State New
Headers
Series clk: qcom: apcs-msm8986: Include bitfield.h for FIELD_PREP |

Commit Message

Stephen Boyd Feb. 23, 2023, 1:38 a.m. UTC
  Otherwise some configurations fail.

Fixes: 027726365906 ("clk: qcom: add the driver for the MSM8996 APCS clocks")
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
---
 drivers/clk/qcom/apcs-msm8996.c | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Dmitry Baryshkov Feb. 23, 2023, 2:10 a.m. UTC | #1
On Thu, 23 Feb 2023 at 03:38, Stephen Boyd <sboyd@kernel.org> wrote:
>
> Otherwise some configurations fail.
>
> Fixes: 027726365906 ("clk: qcom: add the driver for the MSM8996 APCS clocks")
> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Signed-off-by: Stephen Boyd <sboyd@kernel.org>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

> ---
>  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
>
  
Stephen Boyd Feb. 23, 2023, 7 p.m. UTC | #2
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 <dmitry.baryshkov@linaro.org>
> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
> ---

Applied to clk-next
  

Patch

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>