mtd: nand: vf610_nfc: include missing pincrl/consumer.h
authorBrian Norris <computersforpeace@gmail.com>
Wed, 30 Sep 2015 16:54:26 +0000 (09:54 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 30 Sep 2015 17:21:39 +0000 (10:21 -0700)
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@gmail.com>
Acked-by: Stefan Agner <stefan@agner.ch>
drivers/mtd/nand/vf610_nfc.c

index 42dad8e4b26fe5a4b019210a8da607634335a63a..ae1f84e3d635ce66bb870a30ca76b888036b6693 100644 (file)
@@ -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>