aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/max7301.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/max7301.c')
-rw-r--r--drivers/gpio/max7301.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/max7301.c b/drivers/gpio/max7301.c
index 965d9b1ea13e..92a100ddef6b 100644
--- a/drivers/gpio/max7301.c
+++ b/drivers/gpio/max7301.c
@@ -16,6 +16,7 @@
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/mutex.h>
+#include <linux/slab.h>
#include <linux/spi/spi.h>
#include <linux/spi/max7301.h>