diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2015-11-30 14:56:56 +0000 |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2015-12-02 09:13:19 +0800 |
commit | 3b134ced9c1fb15fa91034fc7787d651155b64f9 (patch) | |
tree | a647cd131f7fc73fcb3dbf19baca21fc8ab165c4 /drivers/gpu/drm/rockchip | |
parent | 72906ce0301fc8a2cbfa52632191b0ba719699b5 (diff) | |
download | op-kernel-dev-3b134ced9c1fb15fa91034fc7787d651155b64f9.zip op-kernel-dev-3b134ced9c1fb15fa91034fc7787d651155b64f9.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm/rockchip')
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c index 4730ae4..040559a 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c @@ -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) { |