Commit 024b58a3 authored by Lad Prabhakar's avatar Lad Prabhakar Committed by Jonathan Cameron

iio: adc: Kconfig: Make RZG2L_ADC depend on ARCH_RZG2L

ADC block is common on Renesas RZ/G2L and RZ/V2L SoC's, so instead of
adding dependency for each SoC's add dependency on ARCH_RZG2L. The
ARCH_RZG2L config option is already selected by ARCH_R9A07G044 and
ARCH_R9A07G054.
Signed-off-by: default avatarLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20220406070315.13862-1-prabhakar.mahadev-lad.rj@bp.renesas.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 61b9c4c7
...@@ -910,7 +910,7 @@ config ROCKCHIP_SARADC ...@@ -910,7 +910,7 @@ config ROCKCHIP_SARADC
config RZG2L_ADC config RZG2L_ADC
tristate "Renesas RZ/G2L ADC driver" tristate "Renesas RZ/G2L ADC driver"
depends on ARCH_R9A07G044 || COMPILE_TEST depends on ARCH_RZG2L || COMPILE_TEST
help help
Say yes here to build support for the ADC found in Renesas Say yes here to build support for the ADC found in Renesas
RZ/G2L family. RZ/G2L family.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment