diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-20 11:57:41 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-08-01 09:27:23 +0200 |
commit | 261b354caf299a3ff54ba5b35636687c857a0075 (patch) | |
tree | dff2c822c0ef0bc9db60d8f57d15b0764600e06e /drivers | |
parent | mtd: spi-nor: intel-spi: use mtd_device_register() (diff) | |
download | linux-261b354caf299a3ff54ba5b35636687c857a0075.tar.xz linux-261b354caf299a3ff54ba5b35636687c857a0075.zip |
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')
-rw-r--r-- | drivers/mtd/spi-nor/atmel-quadspi.c | 2 |
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 */ |