soc: mediatek: Add compile dependency to pmic-wrapper
authorMatthias Brugger <matthias.bgg@gmail.com>
Wed, 27 May 2015 12:20:55 +0000 (14:20 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 27 May 2015 14:27:05 +0000 (16:27 +0200)
commit2a910d139e405f1038c0f2ea7f9ac45acc84cce9
tree9f9f14a039284a5abbddca06ec435254ce7ee5f2
parentd956b80ac7a6ba6ee45ac46e969f68dd15b4b729
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>
drivers/soc/mediatek/Kconfig
This page took 0.024482 seconds and 5 git commands to generate.