summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-11-06 11:18:37 +0000
committerMark Brown <broonie@kernel.org>2017-11-06 11:18:37 +0000
commitca0db18da26a47f824fe79e6870ad19470a45525 (patch)
tree0ecc91bf1ab80a5fb4668e694feabf49533ab700 /drivers/base
parente8419c40a5ad58eaa112173f554148accc6794f3 (diff)
downloadtalos-op-linux-ca0db18da26a47f824fe79e6870ad19470a45525.tar.gz
talos-op-linux-ca0db18da26a47f824fe79e6870ad19470a45525.zip
regmap: Try to work around Kconfig exploding on HWSPINLOCK
Trying to work with hwspinlock from built in code is painful as it can be built modular. Invert the test for REGMAP_HWSPINLOCK for now so we end up requiring users to depend on HWSPINLOCK=y in order to turn on the hwspinlock code. Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/regmap/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig
index 2d5e849f79c9..e7fa7b4bf9af 100644
--- a/drivers/base/regmap/Kconfig
+++ b/drivers/base/regmap/Kconfig
@@ -5,7 +5,7 @@
config REGMAP
default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ)
select IRQ_DOMAIN if REGMAP_IRQ
- select HWSPINLOCK if REGMAP_HWSPINLOCK
+ select REGMAP_HWSPINLOCK if HWSPINLOCK=y
bool
config REGCACHE_COMPRESSED
OpenPOWER on IntegriCloud