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:
parent
d5baa81480
commit
8fb1437a05
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue