Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: 8250: SERIAL_8250_EM should depend on ARCH_RENESAS

The Emma Mobile integrated serial port hardware is only present on Emma
Mobile SoCs. Hence add a dependency on ARCH_RENESAS, to prevent asking
the user about this driver when configuring a kernel without Renesas
ARM32 SoC support.

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/7b5a4bbf2f47b2c4c127817e8b1524a650795d97.1631710085.git.geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Geert Uytterhoeven and committed by
Greg Kroah-Hartman
2a7458ed 5c7dcc4f

+1 -1
+1 -1
drivers/tty/serial/8250/Kconfig
··· 376 376 config SERIAL_8250_EM 377 377 tristate "Support for Emma Mobile integrated serial port" 378 378 depends on SERIAL_8250 && HAVE_CLK 379 - depends on ARM || COMPILE_TEST 379 + depends on (ARM && ARCH_RENESAS) || COMPILE_TEST 380 380 help 381 381 Selecting this option will add support for the integrated serial 382 382 port hardware found on the Emma Mobile line of processors.