summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/xilinx_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/xilinx_gpio.c')
-rw-r--r--drivers/gpio/xilinx_gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/xilinx_gpio.c b/drivers/gpio/xilinx_gpio.c
index 3c1177abebd3..b8fa65b5bfca 100644
--- a/drivers/gpio/xilinx_gpio.c
+++ b/drivers/gpio/xilinx_gpio.c
@@ -19,6 +19,7 @@
#include <linux/of_gpio.h>
#include <linux/io.h>
#include <linux/gpio.h>
+#include <linux/slab.h>
/* Register Offset Definitions */
#define XGPIO_DATA_OFFSET (0x0) /* Data register */