summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-23 11:15:42 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-23 11:15:51 +0200
commit18d5eacb52291faaa430fc50b435b3bb204dba88 (patch)
tree6e128bb4723309568167b8b570ac20233d236a81 /drivers/base/regmap
parentmfd: palmas PMIC device support Kconfig (diff)
downloadlinux-18d5eacb52291faaa430fc50b435b3bb204dba88.tar.xz
linux-18d5eacb52291faaa430fc50b435b3bb204dba88.zip
regmap: Use select .. if to get IRQ_DOMAIN enabled
Ensure that we can't get randconfig breakage by doing the IRQ_DOMAIN select automatically. Don't just do the select from REGMAP_IRQ to ensure that the select actually gets noticed. Reported-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap')
-rw-r--r--drivers/base/regmap/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig
index 9ef0a5326f17..6be390bd8bd1 100644
--- a/drivers/base/regmap/Kconfig
+++ b/drivers/base/regmap/Kconfig
@@ -6,6 +6,7 @@ config REGMAP
default y if (REGMAP_I2C || REGMAP_SPI)
select LZO_COMPRESS
select LZO_DECOMPRESS
+ select IRQ_DOMAIN if REGMAP_IRQ
bool
config REGMAP_I2C