From a8c295e1ff1d2b1032cc7495f212c56ba9f3e874 Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva Date: Tue, 27 Sep 2022 10:07:21 +0100 Subject: [PATCH] rpmsg: arm: update chrdev to ctrldev registration Since "rpmsg: Update rpmsg_chrdev_register_device function", there was a replacement of the chrdev driver to ctrldev driver. Fix the registration. Upstream-Status: Pending Signed-off-by: Rui Miguel Silva --- drivers/rpmsg/rpmsg_arm_mailbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rpmsg/rpmsg_arm_mailbox.c b/drivers/rpmsg/rpmsg_arm_mailbox.c index 5c0dcc8e353d..90bc8df90885 100644 --- a/drivers/rpmsg/rpmsg_arm_mailbox.c +++ b/drivers/rpmsg/rpmsg_arm_mailbox.c @@ -142,7 +142,7 @@ static int client_probe(struct platform_device *pdev) rpdev->dev.parent = dev; rpdev->dev.release = arm_release_device; - return rpmsg_chrdev_register_device(rpdev); + return rpmsg_ctrldev_register_device(rpdev); } static const struct of_device_id client_of_match[] = {