mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marek Belisko <marek@goldelico.com>
To: zbr@ioremap.net
Cc: linux-kernel@vger.kernel.org, hns@goldelico.com,
	Marek Belisko <marek@goldelico.com>
Subject: [PATCH] w1: slaves: Add dependency for W1_SLAVE_BQ27000
Date: Tue, 28 Apr 2015 22:24:53 +0200	[thread overview]
Message-ID: <1430252693-5164-1-git-send-email-marek@goldelico.com> (raw)

bq2700 slave driver depends on bq27x00-battery driver thus adding this
dependency to config. When bq2700 is build as module bq27x00-battery
will be loaded automatically.

Signed-off-by: Marek Belisko <marek@goldelico.com>
---
 drivers/w1/slaves/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/w1/slaves/Kconfig b/drivers/w1/slaves/Kconfig
index cfe74d0..15c230a 100644
--- a/drivers/w1/slaves/Kconfig
+++ b/drivers/w1/slaves/Kconfig
@@ -128,6 +128,7 @@ config W1_SLAVE_DS28E04
 
 config W1_SLAVE_BQ27000
 	tristate "BQ27000 slave support"
+	depends on BATTERY_BQ27X00_PLATFORM
 	help
 	  Say Y here if you want to use a hdq
 	  bq27000 slave support.
-- 
1.9.1


             reply	other threads:[~2015-04-28 20:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28 20:24 Marek Belisko [this message]
2015-04-30 13:30 ` Evgeniy Polyakov
2015-04-30 13:37   ` Belisko Marek
2015-05-15 19:57     ` Belisko Marek
2015-05-15 21:00       ` Sebastian Reichel

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=1430252693-5164-1-git-send-email-marek@goldelico.com \
    --to=marek@goldelico.com \
    --cc=hns@goldelico.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zbr@ioremap.net \
    /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®