Skip to content

Commit

Permalink
mailbox: rockchip: fix a typo in module autoloading
Browse files Browse the repository at this point in the history
[ Upstream commit e92d87c ]

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: f70ed3b ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 07975f7bc5f57d8ac28825fdb6d886b97be7363e)
Signed-off-by: Sherry Yang <sherry.yang@oracle.com>
  • Loading branch information
Liao Chen authored and SherryYang1 committed Nov 12, 2024
1 parent ec40fa6 commit fb0afb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mailbox/rockchip-mailbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit fb0afb6

Please sign in to comment.