From: Geert Uytterhoeven Date: Sun, 17 Aug 2014 10:08:57 +0000 (+0200) Subject: regmap: Add explicit dependencies to catch "select" misuse X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9ba1e456e1fa3729fc6be73403a7b2083f9590eb;p=linux-beck.git 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 Signed-off-by: Mark Brown --- 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 config REGMAP_I2C tristate + depends on I2C config REGMAP_SPI tristate + depends on SPI config REGMAP_SPMI tristate + depends on SPMI config REGMAP_MMIO tristate