summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/tty/serial/amba-pl011.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index bed430df99e..d356b940382 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -1306,7 +1306,7 @@ static void pl011_clock_on(struct uart_port *port)
}
/* fallthrough */
case PL011_CLK_REQUEST_OFF:
- cancel_delayed_work(&uap->clk_off_work);
+ __cancel_delayed_work(&uap->clk_off_work);
uap->clk_state = PL011_CLK_ON;
break;
default:
@@ -1321,7 +1321,7 @@ static void pl011_clock_check(struct uart_amba_port *uap)
/* Reshedule work during off request */
if (uap->clk_state == PL011_CLK_REQUEST_OFF)
/* New TX - restart work */
- if (cancel_delayed_work(&uap->clk_off_work))
+ if (__cancel_delayed_work(&uap->clk_off_work))
schedule_delayed_work(&uap->clk_off_work,
uap->clk_off_delay);
}