Skip to content

Commit

Permalink
drm/rockchip: Fix module autoload for OF platform driver
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
luisbg authored and Mark Yao committed Dec 2, 2015
1 parent 72906ce commit 3b134ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/rockchip/rockchip_drm_vop.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ static const struct of_device_id vop_driver_dt_match[] = {
.data = &rk3288_vop },
{},
};
MODULE_DEVICE_TABLE(of, vop_driver_dt_match);

static inline void vop_writel(struct vop *vop, uint32_t offset, uint32_t v)
{
Expand Down

0 comments on commit 3b134ce

Please sign in to comment.