Skip to content

Commit f2a107b

Browse files
Liao Chengregkh
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 <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
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)