summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/max7300.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/max7300.c')
-rw-r--r--drivers/gpio/max7300.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/max7300.c b/drivers/gpio/max7300.c
index 9d74eef1157..962f661c18c 100644
--- a/drivers/gpio/max7300.c
+++ b/drivers/gpio/max7300.c
@@ -16,6 +16,7 @@
#include <linux/mutex.h>
#include <linux/i2c.h>
#include <linux/spi/max7301.h>
+#include <linux/slab.h>
static int max7300_i2c_write(struct device *dev, unsigned int reg,
unsigned int val)