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 <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Acked-by: Florian Fainelli <[email protected]> Signed-off-by: Rafał Miłecki <[email protected]> Ref: f35a07f ("tty: serial: bcm63xx: lower driver dependencies") Ref: 18084e4 ("Documentation/kbuild: Document platform dependency practises") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1a282ef commit 0dc0da8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)