mtd: nand: vf610_nfc: include missing pincrl/consumer.h

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Nov 6 10:59:07 PST 2015


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=039353c8f92ec22c8eb9ec3853b8289b8237bfc1
Commit:     039353c8f92ec22c8eb9ec3853b8289b8237bfc1
Parent:     e5bae86797141e4a95e42d825f737cb36d7b8c37
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Wed Sep 30 09:54:26 2015 -0700
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Wed Sep 30 10:21:39 2015 -0700

    mtd: nand: vf610_nfc: include missing pincrl/consumer.h
    
    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>
    Acked-by: 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 42dad8e..ae1f84e 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-cvs mailing list