Re: [PATCH] soc: mediatek: Add compile dependency to pmic-wrapper

From: Matthias Brugger
Date: Wed May 27 2015 - 10:27:57 EST


2015-05-27 14:31 GMT+02:00 Matthias Brugger <matthias.bgg@xxxxxxxxx>:
> 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@xxxxxxxxx>
> ---
> drivers/soc/mediatek/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>

Applied to v4.1-next/soc
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/