aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/hi6220_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/hi6220_gpio.c')
-rw-r--r--drivers/gpio/hi6220_gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/hi6220_gpio.c b/drivers/gpio/hi6220_gpio.c
index 97a0417..95de2ae 100644
--- a/drivers/gpio/hi6220_gpio.c
+++ b/drivers/gpio/hi6220_gpio.c
@@ -9,6 +9,7 @@
#include <asm/gpio.h>
#include <asm/io.h>
#include <errno.h>
+#include <linux/bitops.h>
static int hi6220_gpio_direction_input(struct udevice *dev, unsigned int gpio)
{