diff options
author | Inki Dae <inki.dae@samsung.com> | 2012-09-05 14:12:06 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2012-10-04 10:05:59 +0900 |
commit | 29cb602532b0a82f22322cece8a89f022368d557 (patch) | |
tree | fbf75617f5ffec51bab60a468a9c5978d3ead0c1 /drivers/gpu/drm/exynos/exynos_drm_core.c | |
parent | 268d28371cd326be4dfcd7eba5917bf4b9d30c8f (diff) | |
download | linux-3.10-29cb602532b0a82f22322cece8a89f022368d557.tar.gz linux-3.10-29cb602532b0a82f22322cece8a89f022368d557.tar.bz2 linux-3.10-29cb602532b0a82f22322cece8a89f022368d557.zip |
drm/exynos: added device object to subdrv's remove callback as argument
when remove callback of exynos_drm_subdrv is called, it could need
device object for sub driver to control things specific to hw such as
runtime pm.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_core.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_core.c b/drivers/gpu/drm/exynos/exynos_drm_core.c index 84dd099eae3..80cba2f413f 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_core.c +++ b/drivers/gpu/drm/exynos/exynos_drm_core.c @@ -94,7 +94,7 @@ static void exynos_drm_subdrv_remove(struct drm_device *dev, DRM_DEBUG_DRIVER("%s\n", __FILE__); if (subdrv->remove) - subdrv->remove(dev); + subdrv->remove(dev, subdrv->dev); if (subdrv->encoder) { struct drm_encoder *encoder = subdrv->encoder; |