summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-apple-gpio.c
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2021-11-21 19:56:35 +0300
committerLinus Walleij <linus.walleij@linaro.org>2021-11-27 02:55:14 +0300
commit7c06f080ddee516499adf75fe934ee06c0f6116c (patch)
tree28c06b0a094629335cede1b0c2a26c050cab5422 /drivers/pinctrl/pinctrl-apple-gpio.c
parent67a6c2811ceff3d8c1225cf52a42f39f3addf477 (diff)
downloadlinux-7c06f080ddee516499adf75fe934ee06c0f6116c.tar.xz
pinctrl: apple: add missing bits.h header
This is needed for the BIT(n) macro. Signed-off-by: Joey Gouly <joey.gouly@arm.com> Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20211121165642.27883-5-joey.gouly@arm.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-apple-gpio.c')
-rw-r--r--drivers/pinctrl/pinctrl-apple-gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-apple-gpio.c b/drivers/pinctrl/pinctrl-apple-gpio.c
index 102940058a11..cce95367c156 100644
--- a/drivers/pinctrl/pinctrl-apple-gpio.c
+++ b/drivers/pinctrl/pinctrl-apple-gpio.c
@@ -11,6 +11,7 @@
*/
#include <dt-bindings/pinctrl/apple.h>
+#include <linux/bits.h>
#include <linux/gpio/driver.h>
#include <linux/interrupt.h>
#include <linux/irq.h>