summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiao Chen <liaochen4@huawei.com>2024-08-14 02:51:47 +0000
committerJassi Brar <jassisinghbrar@gmail.com>2024-09-22 19:19:17 -0500
commite92d87c9c5d769e4cb1dd7c90faa38dddd7e52e3 (patch)
tree5961a99f8ef74ef4c2431aeee9cd0a28a76dd66a
parent39d7d6177f0cc25a567a4b3d2b2323489d4615f7 (diff)
mailbox: rockchip: fix a typo in module autoloading
MODULE_DEVICE_TABLE(of, rockchip_mbox_of_match) could let the module properly autoloaded based on the alias from of_device_id table. It should be 'rockchip_mbox_of_match' instead of 'rockchp_mbox_of_match', just fix it. Fixes: f70ed3b5dc8b ("mailbox: rockchip: Add Rockchip mailbox driver") Signed-off-by: Liao Chen <liaochen4@huawei.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
-rw-r--r--drivers/mailbox/rockchip-mailbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/rockchip-mailbox.c b/drivers/mailbox/rockchip-mailbox.c
index 8ffad059e898..4d966cb2ed03 100644
--- a/drivers/mailbox/rockchip-mailbox.c
+++ b/drivers/mailbox/rockchip-mailbox.c
@@ -159,7 +159,7 @@ static const struct of_device_id rockchip_mbox_of_match[] = {
{ .compatible = "rockchip,rk3368-mailbox", .data = &rk3368_drv_data},
{ },
};
-MODULE_DEVICE_TABLE(of, rockchp_mbox_of_match);
+MODULE_DEVICE_TABLE(of, rockchip_mbox_of_match);
static int rockchip_mbox_probe(struct platform_device *pdev)
{