Skip to content

Commit 0dc0da8

Browse files
Rafał Miłeckigregkh
authored andcommitted
tty: serial: bcm63xx: use more precise Kconfig symbol
Patches lowering SERIAL_BCM63XX dependencies led to a discussion and documentation change regarding "depends" usage. Adjust Kconfig entry to match current guidelines. Make this symbol available for relevant architectures only. Cc: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Ref: f35a07f ("tty: serial: bcm63xx: lower driver dependencies") Ref: 18084e4 ("Documentation/kbuild: Document platform dependency practises") Link: https://lore.kernel.org/r/20220311093233.10012-1-zajec5@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1a282ef commit 0dc0da8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/tty/serial/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,8 @@ config SERIAL_TIMBERDALE
11001100
config SERIAL_BCM63XX
11011101
tristate "Broadcom BCM63xx/BCM33xx UART support"
11021102
select SERIAL_CORE
1103-
depends on COMMON_CLK
1103+
depends on ARCH_BCM4908 || ARCH_BCM_63XX || BCM63XX || BMIPS_GENERIC || COMPILE_TEST
1104+
default ARCH_BCM4908 || ARCH_BCM_63XX || BCM63XX || BMIPS_GENERIC
11041105
help
11051106
This enables the driver for the onchip UART core found on
11061107
the following chipsets:

0 commit comments

Comments
 (0)