diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-08-17 06:08:57 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-17 09:54:14 -0400 |
commit | 9ba1e456e1fa3729fc6be73403a7b2083f9590eb (patch) | |
tree | 1e1f998f7b161b850ecfd70c14f68358bddde155 /drivers/base/regmap/Kconfig | |
parent | dd060bc92748ce77231b2cd2657510b77cd94dea (diff) |
regmap: Add explicit dependencies to catch "select" misuse
Add explicit dependencies for the various regmap modules, so Kconfig
will print a warning message when another module selects a regmap module
without fulfilling its dependencies.
Without this, it's much more difficult to find out which module did the
offending select.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/base/regmap/Kconfig')
-rw-r--r-- | drivers/base/regmap/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig index 4251570610c9..8a3f51f7b1b9 100644 --- a/drivers/base/regmap/Kconfig +++ b/drivers/base/regmap/Kconfig | |||
@@ -11,12 +11,15 @@ config REGMAP | |||
11 | 11 | ||
12 | config REGMAP_I2C | 12 | config REGMAP_I2C |
13 | tristate | 13 | tristate |
14 | depends on I2C | ||
14 | 15 | ||
15 | config REGMAP_SPI | 16 | config REGMAP_SPI |
16 | tristate | 17 | tristate |
18 | depends on SPI | ||
17 | 19 | ||
18 | config REGMAP_SPMI | 20 | config REGMAP_SPMI |
19 | tristate | 21 | tristate |
22 | depends on SPMI | ||
20 | 23 | ||
21 | config REGMAP_MMIO | 24 | config REGMAP_MMIO |
22 | tristate | 25 | tristate |