Skip to content

Commit f2a107b

Browse files
Liao Chengregkh
Liao Chen
authored andcommitted
drm/mcde: Enable module autoloading
[ Upstream commit 8a16b5c ] Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen <liaochen4@huawei.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240902113320.903147-4-liaochen4@huawei.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 86f5f19 commit f2a107b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/mcde/mcde_drv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ static const struct of_device_id mcde_of_match[] = {
473473
},
474474
{},
475475
};
476+
MODULE_DEVICE_TABLE(of, mcde_of_match);
476477

477478
static struct platform_driver mcde_driver = {
478479
.driver = {

0 commit comments

Comments
 (0)