tty: serial: Remove use of PM_RUNTIME config flag

Remove the use of PM_RUNTIME feature flag in the driver as this flag
is obsoleted on newer kernel versions. Instead use PM flag to conditionally
compile RPM callbacks.

Change-Id: I92d4b9ac15d05c6144a68ddd41f29b00aa209fd2
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
This commit is contained in:
Girish Mahadevan 2016-02-19 10:09:12 -07:00 committed by David Keitel
parent d5baa81480
commit 8fb1437a05

View file

@ -3161,7 +3161,7 @@ static int msm_hs_pm_sys_resume_noirq(struct device *dev)
} }
#endif #endif
#ifdef CONFIG_PM_RUNTIME #ifdef CONFIG_PM
static void msm_serial_hs_rt_init(struct uart_port *uport) static void msm_serial_hs_rt_init(struct uart_port *uport)
{ {
struct msm_hs_port *msm_uport = UARTDM_TO_MSM(uport); struct msm_hs_port *msm_uport = UARTDM_TO_MSM(uport);