diff mbox series

tty: serial: meson: Fix the compile link error reported by kernel test robot

Message ID 20220228064910.11636-1-yu.tu@amlogic.com (mailing list archive)
State Superseded
Headers show
Series tty: serial: meson: Fix the compile link error reported by kernel test robot | expand

Commit Message

Yu Tu Feb. 28, 2022, 6:49 a.m. UTC
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 <lkp@intel.com>
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
---
 drivers/tty/serial/Kconfig | 1 +
 1 file changed, 1 insertion(+)


base-commit: c2faf737abfb10f88f2d2612d573e9edc3c42c37
diff mbox series

Patch

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