tty: serial: meson: Fix the compile link error reported by kernel test robot
authorYu Tu <yu.tu@amlogic.com>
Mon, 28 Feb 2022 06:49:10 +0000 (14:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Feb 2022 21:24:25 +0000 (22:24 +0100)
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>
Link: https://lore.kernel.org/r/20220228064910.11636-1-yu.tu@amlogic.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig

index e952ec5c7a7c00a3ed3bfaf5c35e636c26afda80..a0f2b82fc18b4071da1dc18b7d56293cc1f00668 100644 (file)
@@ -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