diff mbox series

[-next] mailbox: rockchip: fix a typo in module autoloading

Message ID 20240814025147.3875634-1-liaochen4@huawei.com (mailing list archive)
State New
Headers show
Series [-next] mailbox: rockchip: fix a typo in module autoloading | expand

Commit Message

Liao Chen Aug. 14, 2024, 2:51 a.m. UTC
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>
---
 drivers/mailbox/rockchip-mailbox.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Heiko Stübner Aug. 14, 2024, 6:13 a.m. UTC | #1
Am Mittwoch, 14. August 2024, 04:51:47 CEST schrieb Liao Chen:
> 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>

nice catch :-)

Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Liao Chen Aug. 22, 2024, 8:35 a.m. UTC | #2
On 2024/8/14 10:51, Liao Chen wrote:
> 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>
> ---
>   drivers/mailbox/rockchip-mailbox.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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)
>   {
Gentle ping

Thanks,
Chen
diff mbox series

Patch

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)
 {