diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-07-31 12:56:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-01 03:08:01 +0200 |
commit | 90efa75f7ab0be5677f0cca155dbf0b39eacdd03 (patch) | |
tree | ac34963f6bf548224e5ac484832be5089d3943c7 /arch/mips/sni | |
parent | serial: sccnxp: Disable regulator on error (diff) | |
download | linux-90efa75f7ab0be5677f0cca155dbf0b39eacdd03.tar.xz linux-90efa75f7ab0be5677f0cca155dbf0b39eacdd03.zip |
serial: sccnxp: Using CLK API for getting UART clock
This patch removes "frequency" parameter from SCCNXP platform_data
and uses CLK API for getting clock. If CLK ommited, default IC
frequency will be used instead.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/sni')
-rw-r--r-- | arch/mips/sni/a20r.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/sni/a20r.c b/arch/mips/sni/a20r.c index dd0ab982d77e..f9407e170476 100644 --- a/arch/mips/sni/a20r.c +++ b/arch/mips/sni/a20r.c @@ -122,7 +122,6 @@ static struct resource sc26xx_rsrc[] = { static struct sccnxp_pdata sccnxp_data = { .reg_shift = 2, - .frequency = 3686400, .mctrl_cfg[0] = MCTRL_SIG(DTR_OP, LINE_OP7) | MCTRL_SIG(RTS_OP, LINE_OP3) | MCTRL_SIG(DSR_IP, LINE_IP5) | |