summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi-nor/atmel-quadspi.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-07-20 11:57:41 +0200
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-08-01 09:27:23 +0200
commit261b354caf299a3ff54ba5b35636687c857a0075 (patch)
treedff2c822c0ef0bc9db60d8f57d15b0764600e06e /drivers/mtd/spi-nor/atmel-quadspi.c
parent11edc1133e3023e6452d6934c3f22d65a9c05fe8 (diff)
mtd: spi-nor: atmel-quadspi: Include gpio/consumer.h instead of gpio.h
GPIO consumers now include <linux/gpio/consumer.h> instead of <linux/gpio.h> if they can. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd/spi-nor/atmel-quadspi.c')
-rw-r--r--drivers/mtd/spi-nor/atmel-quadspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi-nor/atmel-quadspi.c b/drivers/mtd/spi-nor/atmel-quadspi.c
index ceaaef47f02e..820048726b4f 100644
--- a/drivers/mtd/spi-nor/atmel-quadspi.c
+++ b/drivers/mtd/spi-nor/atmel-quadspi.c
@@ -34,7 +34,7 @@
#include <linux/of.h>
#include <linux/io.h>
-#include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
/* QSPI register offsets */
#define QSPI_CR 0x0000 /* Control Register */