[PATCH] mtd: nand: vf610_nfc: include missing pincrl/consumer.h

Stefan Agner stefan at agner.ch
Wed Sep 30 10:02:03 PDT 2015


On 2015-09-30 09:54, Brian Norris wrote:
> This must have been implicitly included on the builds I tested. Reported
> by numerous test bots:

Same for me. Thanks for the fix.

Acked-by: Stefan Agner <stefan at agner.ch>

--
Stefan

> 
>    drivers/mtd/nand/vf610_nfc.c: In function 'vf610_nfc_resume':
>    drivers/mtd/nand/vf610_nfc.c:660:2: error: implicit declaration of
> function 'pinctrl_pm_select_default_state'
> [-Werror=implicit-function-declaration]
>      pinctrl_pm_select_default_state(dev);
>      ^
> 
> Signed-off-by: Brian Norris <computersforpeace at gmail.com>
> Cc: Bill Pringlemeir <bpringlemeir at nbsps.com>
> Cc: Alexey Klimov <klimov.linux at gmail.com>
> Cc: Stefan Agner <stefan at agner.ch>
> ---
>  drivers/mtd/nand/vf610_nfc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mtd/nand/vf610_nfc.c b/drivers/mtd/nand/vf610_nfc.c
> index 42dad8e4b26f..ae1f84e3d635 100644
> --- a/drivers/mtd/nand/vf610_nfc.c
> +++ b/drivers/mtd/nand/vf610_nfc.c
> @@ -35,6 +35,7 @@
>  #include <linux/mtd/partitions.h>
>  #include <linux/of_mtd.h>
>  #include <linux/of_device.h>
> +#include <linux/pinctrl/consumer.h>
>  #include <linux/platform_device.h>
>  #include <linux/slab.h>




More information about the linux-mtd mailing list