mtd: spi-nor: atmel-quadspi: Include gpio/consumer.h instead of gpio.h
authorBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 20 Jul 2018 09:57:41 +0000 (11:57 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Wed, 1 Aug 2018 07:27:23 +0000 (09:27 +0200)
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>
drivers/mtd/spi-nor/atmel-quadspi.c

index ceaaef47f02e1bf7704f279fcd5ca461b36fc809..820048726b4f5b14963fb0c3765db297476c5923 100644 (file)
@@ -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 */