diff options
author | Keerthy <j-keerthy@ti.com> | 2017-09-13 08:17:10 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-10-13 05:42:59 -0400 |
commit | b2b3adc93e9e46554bedf26f2ee081126c2b8a22 (patch) | |
tree | eec9a8d1d066b7c3922968f458c42c25a4880f99 /drivers/mfd/Kconfig | |
parent | 8f76af65a53cfee25c1a7eccbf8a180d7471657d (diff) |
mfd: tps65218: Introduce dependency on CONFIG_OF
Currently the driver boots only via device tree hence add a
dependency on CONFIG_OF. This leaves with a bunch of unused code
so clean that up.
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index c5bc48a4d7a0..5fecee6d972c 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -1413,7 +1413,7 @@ config MFD_TI_LP87565 | |||
1413 | 1413 | ||
1414 | config MFD_TPS65218 | 1414 | config MFD_TPS65218 |
1415 | tristate "TI TPS65218 Power Management chips" | 1415 | tristate "TI TPS65218 Power Management chips" |
1416 | depends on I2C | 1416 | depends on I2C && OF |
1417 | select MFD_CORE | 1417 | select MFD_CORE |
1418 | select REGMAP_I2C | 1418 | select REGMAP_I2C |
1419 | select REGMAP_IRQ | 1419 | select REGMAP_IRQ |