Message ID | 7b5a4bbf2f47b2c4c127817e8b1524a650795d97.1631710085.git.geert+renesas@glider.be (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | serial: 8250: SERIAL_8250_EM should depend on ARCH_RENESAS | expand |
Hi Geert, Thanks for your work. On 2021-09-15 14:49:22 +0200, Geert Uytterhoeven wrote: > 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. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> > --- > drivers/tty/serial/8250/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig > index 71ae16de0f90e06f..808268edd2e82a45 100644 > --- a/drivers/tty/serial/8250/Kconfig > +++ b/drivers/tty/serial/8250/Kconfig > @@ -376,7 +376,7 @@ config SERIAL_8250_DW > config SERIAL_8250_EM > tristate "Support for Emma Mobile integrated serial port" > depends on SERIAL_8250 && HAVE_CLK > - depends on ARM || COMPILE_TEST > + depends on (ARM && ARCH_RENESAS) || COMPILE_TEST > help > Selecting this option will add support for the integrated serial > port hardware found on the Emma Mobile line of processors. > -- > 2.25.1 >
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index 71ae16de0f90e06f..808268edd2e82a45 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -376,7 +376,7 @@ config SERIAL_8250_DW config SERIAL_8250_EM tristate "Support for Emma Mobile integrated serial port" depends on SERIAL_8250 && HAVE_CLK - depends on ARM || COMPILE_TEST + depends on (ARM && ARCH_RENESAS) || COMPILE_TEST help Selecting this option will add support for the integrated serial port hardware found on the Emma Mobile line of processors.
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. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- drivers/tty/serial/8250/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)