Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Norris <computersforpeace@gmail.com>
To: <linux-mtd@lists.infradead.org>
Cc: Brian Norris <computersforpeace@gmail.com>,
	Bill Pringlemeir <bpringlemeir@nbsps.com>,
	Alexey Klimov <klimov.linux@gmail.com>,
	Stefan Agner <stefan@agner.ch>
Subject: [PATCH] mtd: nand: vf610_nfc: include missing pincrl/consumer.h
Date: Wed, 30 Sep 2015 09:54:26 -0700	[thread overview]
Message-ID: <1443632066-69967-1-git-send-email-computersforpeace@gmail.com> (raw)

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>
Cc: Bill Pringlemeir <bpringlemeir@nbsps.com>
Cc: Alexey Klimov <klimov.linux@gmail.com>
Cc: Stefan Agner <stefan@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

             reply	other threads:[~2015-09-30 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30 16:54 Brian Norris [this message]
2015-09-30 17:02 ` [PATCH] mtd: nand: vf610_nfc: include missing pincrl/consumer.h Stefan Agner
2015-09-30 17:22   ` Brian Norris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1443632066-69967-1-git-send-email-computersforpeace@gmail.com \
    --to=computersforpeace@gmail.com \
    --cc=bpringlemeir@nbsps.com \
    --cc=klimov.linux@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=stefan@agner.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox