Skip to content

Commit 3b134ce

Browse files
luisbgMark Yao
authored andcommitted
drm/rockchip: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
1 parent 72906ce commit 3b134ce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/rockchip/rockchip_drm_vop.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ static const struct of_device_id vop_driver_dt_match[] = {
374374
.data = &rk3288_vop },
375375
{},
376376
};
377+
MODULE_DEVICE_TABLE(of, vop_driver_dt_match);
377378

378379
static inline void vop_writel(struct vop *vop, uint32_t offset, uint32_t v)
379380
{

0 commit comments

Comments
 (0)