[v1,1/1] pinctrl: qcom: lpass-lpi: Add missed bitfield.h

Message ID 20221027184145.2533-1-andriy.shevchenko@linux.intel.com
State New
Headers
Series [v1,1/1] pinctrl: qcom: lpass-lpi: Add missed bitfield.h |

Commit Message

Andy Shevchenko Oct. 27, 2022, 6:41 p.m. UTC
  Previously the cleanup change dropped the bitfield.h from the
pinctrl-lpass-lpi.h, since it's not used there, but forgot to
re-instantiate it in the C-file, where users are located.

Fix this by adding missed bitfield.h to the C-file.

Fixes: aa9430f8a6de ("pinctrl: qcom: Add missing header(s)")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/pinctrl/qcom/pinctrl-lpass-lpi.c | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Andy Shevchenko Nov. 1, 2022, 3:01 p.m. UTC | #1
On Thu, Oct 27, 2022 at 09:41:45PM +0300, Andy Shevchenko wrote:
> Previously the cleanup change dropped the bitfield.h from the
> pinctrl-lpass-lpi.h, since it's not used there, but forgot to
> re-instantiate it in the C-file, where users are located.
> 
> Fix this by adding missed bitfield.h to the C-file.

Pushed to my review and testing queue, thanks!
  

Patch

diff --git a/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c b/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
index d5cfa91e2eff..3dc670faa59e 100644
--- a/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
+++ b/drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
@@ -4,6 +4,7 @@ 
  * Copyright (c) 2020 Linaro Ltd.
  */
 
+#include <linux/bitfield.h>
 #include <linux/clk.h>
 #include <linux/gpio/driver.h>
 #include <linux/module.h>