diff options
| author | Jeffy Chen <[email protected]> | 2017-03-22 03:21:20 +0000 |
|---|---|---|
| committer | Sean Paul <[email protected]> | 2017-03-24 18:48:58 +0000 |
| commit | 8820b68bd378db1821b23b93dbb5a1a06cbbdfdd (patch) | |
| tree | b2efb3bc44361010224374c633f8ae8970f1fd41 /drivers/gpu/drm/rockchip/cdn-dp-core.c | |
| parent | drm/debugfs: Add kerneldoc (diff) | |
| download | kernel-8820b68bd378db1821b23b93dbb5a1a06cbbdfdd.tar.gz kernel-8820b68bd378db1821b23b93dbb5a1a06cbbdfdd.zip | |
drm/rockchip: Refactor the component match logic.
Currently we are adding all components from the dts, if one of their
drivers been disabled, we would not be able to bring up others.
Refactor component match logic, follow exynos drm.
Signed-off-by: Jeffy Chen <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Acked-by: Mark Yao <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/rockchip/cdn-dp-core.c')
| -rw-r--r-- | drivers/gpu/drm/rockchip/cdn-dp-core.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/gpu/drm/rockchip/cdn-dp-core.c b/drivers/gpu/drm/rockchip/cdn-dp-core.c index 9edb8dc1ea14..4e55d63c3ef3 100644 --- a/drivers/gpu/drm/rockchip/cdn-dp-core.c +++ b/drivers/gpu/drm/rockchip/cdn-dp-core.c @@ -1244,7 +1244,7 @@ static const struct dev_pm_ops cdn_dp_pm_ops = { cdn_dp_resume) }; -static struct platform_driver cdn_dp_driver = { +struct platform_driver cdn_dp_driver = { .probe = cdn_dp_probe, .remove = cdn_dp_remove, .shutdown = cdn_dp_shutdown, @@ -1255,9 +1255,3 @@ static struct platform_driver cdn_dp_driver = { .pm = &cdn_dp_pm_ops, }, }; - -module_platform_driver(cdn_dp_driver); - -MODULE_AUTHOR("Chris Zhong <[email protected]>"); -MODULE_DESCRIPTION("cdn DP Driver"); -MODULE_LICENSE("GPL v2"); |
