summaryrefslogtreecommitdiff
path: root/drivers/mailbox/mailbox-altera.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mailbox/mailbox-altera.c')
-rw-r--r--drivers/mailbox/mailbox-altera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/mailbox-altera.c b/drivers/mailbox/mailbox-altera.c
index afb320e9d69c..748128661892 100644
--- a/drivers/mailbox/mailbox-altera.c
+++ b/drivers/mailbox/mailbox-altera.c
@@ -270,7 +270,7 @@ static void altera_mbox_shutdown(struct mbox_chan *chan)
writel_relaxed(~0, mbox->mbox_base + MAILBOX_INTMASK_REG);
free_irq(mbox->irq, chan);
} else if (!mbox->is_sender) {
- del_timer_sync(&mbox->rxpoll_timer);
+ timer_delete_sync(&mbox->rxpoll_timer);
}
}