From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>,
Samuel Ortiz <sameo@linux.intel.com>
Cc: linux-kernel@vger.kernel.org,
Mark Brown <broonie@opensource.wolfsonmicro.com>
Subject: [PATCH] mfd: mc13xxx: Core should not be user visible
Date: Wed, 16 May 2012 18:51:08 +0100 [thread overview]
Message-ID: <1337190669-29328-1-git-send-email-broonie@opensource.wolfsonmicro.com> (raw)
Since the core is not usable without one of the bus modules it should not
be presented in the UI but should instead be selected by the bus modules.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/mfd/Kconfig | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index ffb7c05..8bc76aa 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -614,7 +614,7 @@ config MFD_MC13783
tristate
config MFD_MC13XXX
- tristate "Support Freescale MC13783 and MC13892"
+ tristate
depends on SPI_MASTER || I2C
select MFD_CORE
select MFD_MC13783
@@ -624,12 +624,11 @@ config MFD_MC13XXX
additional drivers must be enabled in order to use the
functionality of the device.
-if MFD_MC13XXX
-
config MFD_MC13XXX_SPI
tristate "MC13xxx SPI interface" if SPI_MASTER
default SPI_MASTER
select REGMAP_SPI
+ select MFD_MC13XXX
help
Select this if your MC13xxx is connected via an SPI bus.
@@ -637,11 +636,10 @@ config MFD_MC13XXX_I2C
tristate "MC13xxx I2C interface" if I2C
default I2C
select REGMAP_I2C
+ select MFD_MC13XXX
help
Select this if your MC13xxx is connected via an I2C bus.
-endif
-
config ABX500_CORE
bool "ST-Ericsson ABX500 Mixed Signal Circuit register functions"
default y if ARCH_U300 || ARCH_U8500
--
1.7.10
next reply other threads:[~2012-05-16 17:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-16 17:51 Mark Brown [this message]
2012-05-16 18:01 ` Uwe Kleine-König
2012-05-16 18:03 ` Mark Brown
2012-05-18 11:03 ` Samuel Ortiz
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=1337190669-29328-1-git-send-email-broonie@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sameo@linux.intel.com \
--cc=u.kleine-koenig@pengutronix.de \
/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
Powered by JetHome