[PATCH] mtd: rawnand: jz4740: Include gpio/consumer.h instead of gpio.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Boris,

Boris Brezillon <boris.brezillon at bootlin.com> wrote on Fri, 20 Jul 2018
00:38:13 +0200:

> 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 at bootlin.com>
> Signed-off-by: Boris Brezillon <boris.brezillon at bootlin.com>
> ---

Applied to nand/next, thanks!
Miqu?l



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux