diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-08-28 10:09:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-28 16:00:42 -0700 |
commit | 15ef17f622033455dcf03ae96256e474073a7b11 (patch) | |
tree | f3b0b6f88fffa9e9be3395d7b4d655767a608194 /drivers/tty/serial/Kconfig | |
parent | a416bfa2a6b4e00a7bc69641b8fc2414873a5fd9 (diff) | |
download | linux-15ef17f622033455dcf03ae96256e474073a7b11.tar.bz2 |
tty: ar933x_uart: use the clk API to get the uart clock
The AR933x UARTs are only used on the Atheros AR933x
SoCs. The base clock frequency of the UART is passed
to the driver via platform data. The SoC support code
implements the generic clock API, and the clock rate
can be retrieved via that.
Update the code to get the clock rate via the generic
clock API instead of using the platform data.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r-- | drivers/tty/serial/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index f13624807d12..3c598e3e7156 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -1402,7 +1402,7 @@ config SERIAL_XILINX_PS_UART_CONSOLE config SERIAL_AR933X bool "AR933X serial port support" - depends on SOC_AR933X + depends on HAVE_CLK && SOC_AR933X select SERIAL_CORE help If you have an Atheros AR933X SOC based board and want to use the |