linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regmap: default Y if REGMAP_MMIO is selected
@ 2012-10-17 12:31 Philipp Zabel
  2012-10-17 12:32 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Philipp Zabel @ 2012-10-17 12:31 UTC (permalink / raw)
  To: linux-kernel, Mark Brown; +Cc: Greg Kroah-Hartman, Philipp Zabel

The syscon mfd driver selects REGMAP_MMIO and uses struct regmap_config,
which is only defined if CONFIG_REGMAP is enabled.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 drivers/base/regmap/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig
index 6be390b..89887f9 100644
--- a/drivers/base/regmap/Kconfig
+++ b/drivers/base/regmap/Kconfig
@@ -3,7 +3,7 @@
 # subsystems should select the appropriate symbols.
 
 config REGMAP
-	default y if (REGMAP_I2C || REGMAP_SPI)
+	default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_MMIO)
 	select LZO_COMPRESS
 	select LZO_DECOMPRESS
 	select IRQ_DOMAIN if REGMAP_IRQ
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-17 12:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-17 12:31 [PATCH] regmap: default Y if REGMAP_MMIO is selected Philipp Zabel
2012-10-17 12:32 ` Mark Brown
2012-10-17 12:33   ` Philipp Zabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).