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

Brian Norris computersforpeace at gmail.com
Wed Sep 30 09:54:26 PDT 2015


This must have been implicitly included on the builds I tested. Reported
by numerous test bots:

   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>
 
-- 
2.6.0.rc2.230.g3dd15c0




More information about the linux-mtd mailing list