summaryrefslogtreecommitdiffstats
path: root/drivers/soc/mediatek
diff options
context:
space:
mode:
authorMatthias Brugger <matthias.bgg@gmail.com>2015-05-27 14:20:55 +0200
committerMatthias Brugger <matthias.bgg@gmail.com>2015-05-27 16:27:05 +0200
commit2a910d139e405f1038c0f2ea7f9ac45acc84cce9 (patch)
tree9f9f14a039284a5abbddca06ec435254ce7ee5f2 /drivers/soc/mediatek
parentsoc: mediatek: PMIC wrap: Fix register state machine handling (diff)
downloadlinux-2a910d139e405f1038c0f2ea7f9ac45acc84cce9.tar.xz
linux-2a910d139e405f1038c0f2ea7f9ac45acc84cce9.zip
soc: mediatek: Add compile dependency to pmic-wrapper
The pmic-wrapper calls the reset controller. If CONFIG_RESET_CONTROLLER is not set, compilation fails with: drivers/soc/mediatek/mtk-pmic-wrap.c: In function ‘pwrap_probe’: drivers/soc/mediatek/mtk-pmic-wrap.c:836:2: error: implicit declaration of function ‘devm_reset_control_get’ [-Werror=implicit-function-declaration] This patch sets the dependency in the Kconfig file. Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc/mediatek')
-rw-r--r--drivers/soc/mediatek/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig
index bcdb22d5e215..3c1850332a90 100644
--- a/drivers/soc/mediatek/Kconfig
+++ b/drivers/soc/mediatek/Kconfig
@@ -4,6 +4,7 @@
config MTK_PMIC_WRAP
tristate "MediaTek PMIC Wrapper Support"
depends on ARCH_MEDIATEK
+ depends on RESET_CONTROLLER
select REGMAP
help
Say yes here to add support for MediaTek PMIC Wrapper found