regulator: 88pm800: Depend on MFD_88PM800 rather than MFD_88PM800=y
authorAxel Lin <axel.lin@ingics.com>
Fri, 19 Jul 2013 01:17:53 +0000 (09:17 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 19 Jul 2013 18:08:37 +0000 (19:08 +0100)
This driver can be built as a module, make it depend on MFD_88PM800.
Otherwise, we are not able to select this driver when MFD_88PM800=m.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/Kconfig

index 65b7d5b1bb395f3e0f0002625f9825aae7786b60..b05fa9009e82213a2d310f4e0cba4b554202bfd1 100644 (file)
@@ -66,7 +66,7 @@ config REGULATOR_USERSPACE_CONSUMER
 
 config REGULATOR_88PM800
        tristate "Marvell 88PM800 Power regulators"
-       depends on MFD_88PM800=y
+       depends on MFD_88PM800
        help
          This driver supports Marvell 88PM800 voltage regulator chips.
          It delivers digitally programmable output,