diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2015-11-30 17:56:56 +0300 |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2015-12-02 04:13:19 +0300 |
commit | 3b134ced9c1fb15fa91034fc7787d651155b64f9 (patch) | |
tree | a647cd131f7fc73fcb3dbf19baca21fc8ab165c4 | |
parent | 72906ce0301fc8a2cbfa52632191b0ba719699b5 (diff) | |
download | linux-3b134ced9c1fb15fa91034fc7787d651155b64f9.tar.xz |
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>
-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 4730ae46e5a7..040559af14ed 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) { |