diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-20 01:38:13 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-31 10:45:53 +0300 |
commit | d05a9524d7ec513648ad5e0fbd944e6ff3ddbd84 (patch) | |
tree | 7584ded8890ffb13eed017e98019d841dad74ae7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 05b54c7bac906c443fd0b23ab8954e0560b33e5c (diff) | |
download | linux-d05a9524d7ec513648ad5e0fbd944e6ff3ddbd84.tar.xz |
mtd: rawnand: jz4740: Include gpio/consumer.h instead of gpio.h
GPIO consumers should no longer include <linux/gpio.h>, and instead
include <linux/gpio/consumer.h>.
Also, explicitly include <include/io.h> since it seems to be missing
after switching to <linux/gpio/consumer.h>.
This fixes a build error when selecting the driver without selecting
GPIOLIB, which can happen when COMPILE_TEST=y.
Fixes: 6968e07e8169 ("mtd: rawnand: jz4740: Allow selection of this driver when COMPILE_TEST=y")
Reported-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions