diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-07-31 06:56:30 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-31 21:08:01 -0400 |
commit | 90efa75f7ab0be5677f0cca155dbf0b39eacdd03 (patch) | |
tree | ac34963f6bf548224e5ac484832be5089d3943c7 /include/linux/platform_data | |
parent | e087ab74f3dd30105041e1c68db209f235b63042 (diff) |
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 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/serial-sccnxp.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/platform_data/serial-sccnxp.h b/include/linux/platform_data/serial-sccnxp.h index bdc510d03245..af0c8c3b89ae 100644 --- a/include/linux/platform_data/serial-sccnxp.h +++ b/include/linux/platform_data/serial-sccnxp.h | |||
@@ -60,7 +60,6 @@ | |||
60 | * }; | 60 | * }; |
61 | * | 61 | * |
62 | * static struct sccnxp_pdata sc2892_info = { | 62 | * static struct sccnxp_pdata sc2892_info = { |
63 | * .frequency = 3686400, | ||
64 | * .mctrl_cfg[0] = MCTRL_SIG(DIR_OP, LINE_OP0), | 63 | * .mctrl_cfg[0] = MCTRL_SIG(DIR_OP, LINE_OP0), |
65 | * .mctrl_cfg[1] = MCTRL_SIG(DIR_OP, LINE_OP1), | 64 | * .mctrl_cfg[1] = MCTRL_SIG(DIR_OP, LINE_OP1), |
66 | * }; | 65 | * }; |
@@ -78,8 +77,6 @@ | |||
78 | 77 | ||
79 | /* SCCNXP platform data structure */ | 78 | /* SCCNXP platform data structure */ |
80 | struct sccnxp_pdata { | 79 | struct sccnxp_pdata { |
81 | /* Frequency (extrenal clock or crystal) */ | ||
82 | int frequency; | ||
83 | /* Shift for A0 line */ | 80 | /* Shift for A0 line */ |
84 | const u8 reg_shift; | 81 | const u8 reg_shift; |
85 | /* Modem control lines configuration */ | 82 | /* Modem control lines configuration */ |