aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Tu <[email protected]>2022-02-28 14:49:10 +0800
committerGreg Kroah-Hartman <[email protected]>2022-02-28 22:24:25 +0100
commit31979060cc07600b250d5837a33dae1beacfeb74 (patch)
tree7b2a3962b0bdf3a8dc6809dc31ed5fed18f64ac9
parente7d6f84c9b5aaddf119b11799fd13411d33f13dd (diff)
tty: serial: meson: Fix the compile link error reported by kernel test robot
Describes the calculation of the UART baud rate clock using a clock frame. Forgot to add in Kconfig kernel test Robot compilation error due to COMMON_CLK dependency. Fixes: 44023b8e1f14 ("tty: serial: meson: Describes the calculation of the UART baud rate clock using a clock frame") Reported-by: kernel test robot <[email protected]> Signed-off-by: Yu Tu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/tty/serial/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index e952ec5c7a7c..a0f2b82fc18b 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -200,6 +200,7 @@ config SERIAL_KGDB_NMI
config SERIAL_MESON
tristate "Meson serial port support"
depends on ARCH_MESON || COMPILE_TEST
+ depends on COMMON_CLK
select SERIAL_CORE
help
This enables the driver for the on-chip UARTs of the Amlogic