mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Fritz <chf.fritz@googlemail.com>
To: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
	kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	kernel test robot <lkp@intel.com>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] regulator: fan53880: fix Kconfig dependency
Date: Tue, 07 Jul 2020 11:03:23 +0200	[thread overview]
Message-ID: <da3aece9abd23b12837e9abf908ee67f0c2c988c.camel@googlemail.com> (raw)
In-Reply-To: <202007071433.Z3bmcgjU%lkp@intel.com>

Currently the fan53880 regulator driver needs a device tree to get
probed, this patch provides the necessary dependency.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
---
 drivers/regulator/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index d47055db999d..76ef4b2de2e7 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -338,7 +338,7 @@ config REGULATOR_FAN53555
 
 config REGULATOR_FAN53880
 	tristate "Fairchild FAN53880 Regulator"
-	depends on I2C
+	depends on I2C && OF
 	select REGMAP_I2C
 	help
 	  This driver supports Fairchild (ON Semiconductor) FAN53880
-- 
2.20.1



       reply	other threads:[~2020-07-07  9:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <202007071433.Z3bmcgjU%lkp@intel.com>
2020-07-07  9:03 ` Christoph Fritz [this message]
2020-07-07 10:20   ` Mark Brown
2020-07-07 10:57     ` [PATCH] regulator: fan53880: Add support for COMPILE_TEST Christoph Fritz
2020-07-07 14:17       ` Mark Brown

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=da3aece9abd23b12837e9abf908ee67f0c2c988c.camel@googlemail.com \
    --to=chf.fritz@googlemail.com \
    --cc=broonie@kernel.org \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    /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

all inboxes | Powered by JetHome®