diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-23 05:15:42 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-23 05:15:51 -0400 |
commit | 18d5eacb52291faaa430fc50b435b3bb204dba88 (patch) | |
tree | 6e128bb4723309568167b8b570ac20233d236a81 /drivers | |
parent | c948ef3ae71c18c1079333b65d6887ceb4577618 (diff) |
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')
-rw-r--r-- | drivers/base/regmap/Kconfig | 1 | ||||
-rw-r--r-- | drivers/mfd/Kconfig | 3 |
2 files changed, 1 insertions, 3 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 | |||
6 | default y if (REGMAP_I2C || REGMAP_SPI) | 6 | default y if (REGMAP_I2C || REGMAP_SPI) |
7 | select LZO_COMPRESS | 7 | select LZO_COMPRESS |
8 | select LZO_DECOMPRESS | 8 | select LZO_DECOMPRESS |
9 | select IRQ_DOMAIN if REGMAP_IRQ | ||
9 | bool | 10 | bool |
10 | 11 | ||
11 | config REGMAP_I2C | 12 | config REGMAP_I2C |
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index e35cb6bc9003..213304de181e 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -376,7 +376,6 @@ config PMIC_DA9052 | |||
376 | 376 | ||
377 | config MFD_DA9052_SPI | 377 | config MFD_DA9052_SPI |
378 | bool "Support Dialog Semiconductor DA9052/53 PMIC variants with SPI" | 378 | bool "Support Dialog Semiconductor DA9052/53 PMIC variants with SPI" |
379 | select IRQ_DOMAIN | ||
380 | select REGMAP_SPI | 379 | select REGMAP_SPI |
381 | select REGMAP_IRQ | 380 | select REGMAP_IRQ |
382 | select PMIC_DA9052 | 381 | select PMIC_DA9052 |
@@ -389,7 +388,6 @@ config MFD_DA9052_SPI | |||
389 | 388 | ||
390 | config MFD_DA9052_I2C | 389 | config MFD_DA9052_I2C |
391 | bool "Support Dialog Semiconductor DA9052/53 PMIC variants with I2C" | 390 | bool "Support Dialog Semiconductor DA9052/53 PMIC variants with I2C" |
392 | select IRQ_DOMAIN | ||
393 | select REGMAP_I2C | 391 | select REGMAP_I2C |
394 | select REGMAP_IRQ | 392 | select REGMAP_IRQ |
395 | select PMIC_DA9052 | 393 | select PMIC_DA9052 |
@@ -560,7 +558,6 @@ config MFD_WM8994 | |||
560 | bool "Support Wolfson Microelectronics WM8994" | 558 | bool "Support Wolfson Microelectronics WM8994" |
561 | select MFD_CORE | 559 | select MFD_CORE |
562 | select REGMAP_I2C | 560 | select REGMAP_I2C |
563 | select IRQ_DOMAIN | ||
564 | select REGMAP_IRQ | 561 | select REGMAP_IRQ |
565 | depends on I2C=y && GENERIC_HARDIRQS | 562 | depends on I2C=y && GENERIC_HARDIRQS |
566 | help | 563 | help |