mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
tty: serial: msm_serial: Remove dead code
This config no longer exists now that mach-msm has been removed. Delete it and the associated code. Cc: Greg Kroah-Hartman <[email protected]> Cc: David Brown <[email protected]> Cc: Bryan Huntsman <[email protected]> Cc: Daniel Walker <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
77002c6f95
commit
e23407d8b3
2 changed files with 1 additions and 10 deletions
|
|
@ -1044,7 +1044,7 @@ config SERIAL_SGI_IOC3
|
|||
|
||||
config SERIAL_MSM
|
||||
bool "MSM on-chip serial port support"
|
||||
depends on ARCH_MSM || ARCH_QCOM
|
||||
depends on ARCH_QCOM
|
||||
select SERIAL_CORE
|
||||
|
||||
config SERIAL_MSM_CONSOLE
|
||||
|
|
|
|||
|
|
@ -170,15 +170,6 @@ void msm_serial_set_mnd_regs_from_uartclk(struct uart_port *port)
|
|||
msm_serial_set_mnd_regs_tcxoby4(port);
|
||||
}
|
||||
|
||||
/*
|
||||
* TROUT has a specific defect that makes it report it's uartclk
|
||||
* as 19.2Mhz (TCXO) when it's actually 4.8Mhz (TCXO/4). This special
|
||||
* cases TROUT to use the right clock.
|
||||
*/
|
||||
#ifdef CONFIG_MACH_TROUT
|
||||
#define msm_serial_set_mnd_regs msm_serial_set_mnd_regs_tcxoby4
|
||||
#else
|
||||
#define msm_serial_set_mnd_regs msm_serial_set_mnd_regs_from_uartclk
|
||||
#endif
|
||||
|
||||
#endif /* __DRIVERS_SERIAL_MSM_SERIAL_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue