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