]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
drivers: regulators: depend on MFD_MAX8998
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 21 Jun 2010 08:04:23 +0000 (10:04 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 11 Aug 2010 10:38:00 +0000 (11:38 +0100)
The MAX8998-pmic driver requires a core driver for all io operations. Like
other regulator driver make it depend of the required MFD io driver.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/Kconfig

index 671b81a394820a59249f0b78b17dddbf3b3060f2..7cd8a2976e6546951bdd11f2b73e57f4f896231c 100644 (file)
@@ -102,8 +102,7 @@ config REGULATOR_MAX8925
 
 config REGULATOR_MAX8998
        tristate "Maxim 8998 voltage regulator"
-       depends on I2C
-       default n
+       depends on MFD_MAX8998
        help
          This driver controls a Maxim 8998 voltage output regulator
          via I2C bus. The provided regulator is suitable for S3C6410