From: Marek Szyprowski Date: Mon, 21 Jun 2010 08:04:23 +0000 (+0200) Subject: drivers: regulators: depend on MFD_MAX8998 X-Git-Tag: v2.6.36-rc1~58^2~17 X-Git-Url: http://bbs.cooldavid.org/git/?a=commitdiff_plain;h=69f710083a5c49467ce3f76631d201771ae59539;p=net-next-2.6.git 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 Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 671b81a3948..7cd8a2976e6 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -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