提交 149da46a 编写于 作者: Q Quentin Schulz 提交者: Lee Jones

mfd: Kconfig: MFD_SUN4I_GPADC depends on !TOUCHSCREN_SUN4I_GPADC

MFD_SUN4I_GPADC and TOUCHSCREEN_SUN4I are incompatible (both are drivers
for Allwinner SoCs' ADC). This makes sure TOUCHSCREEN_SUN4I isn't
enabled while MFD_SUN4I_GPADC is enabled.
Signed-off-by: NQuentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 a042a7a4
...@@ -46,6 +46,7 @@ config MFD_SUN4I_GPADC ...@@ -46,6 +46,7 @@ config MFD_SUN4I_GPADC
select REGMAP_MMIO select REGMAP_MMIO
select REGMAP_IRQ select REGMAP_IRQ
depends on ARCH_SUNXI || COMPILE_TEST depends on ARCH_SUNXI || COMPILE_TEST
depends on !TOUCHSCREEN_SUN4I
help help
Select this to get support for Allwinner SoCs (A10, A13 and A31) ADC. Select this to get support for Allwinner SoCs (A10, A13 and A31) ADC.
This driver will only map the hardware interrupt and registers, you This driver will only map the hardware interrupt and registers, you
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册