瀏覽代碼

drivers: regulators: depend on MFD_MAX8998

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>
Marek Szyprowski 15 年之前
父節點
當前提交
69f710083a
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      drivers/regulator/Kconfig

+ 1 - 2
drivers/regulator/Kconfig

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