aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/dwapb_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/dwapb_gpio.c')
-rw-r--r--drivers/gpio/dwapb_gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/dwapb_gpio.c b/drivers/gpio/dwapb_gpio.c
index 7b50a34..e5e3518 100644
--- a/drivers/gpio/dwapb_gpio.c
+++ b/drivers/gpio/dwapb_gpio.c
@@ -19,6 +19,7 @@
#include <dm/root.h>
#include <errno.h>
#include <reset.h>
+#include <linux/bitops.h>
#define GPIO_SWPORT_DR(p) (0x00 + (p) * 0xc)
#define GPIO_SWPORT_DDR(p) (0x04 + (p) * 0xc)