summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_drv.h
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2011-10-14 13:29:48 +0900
committerDave Airlie <airlied@redhat.com>2011-10-18 10:01:18 +0100
commit41c243464f2420744f1c14da77e230440c1c31b4 (patch)
tree0ea9dbd73079515dd846d2c5d500367f44a83ace /drivers/gpu/drm/exynos/exynos_drm_drv.h
parent8e9cc6a13ac0c6a5a1fef5ca2bda0925832516f3 (diff)
downloadop-kernel-dev-41c243464f2420744f1c14da77e230440c1c31b4.zip
op-kernel-dev-41c243464f2420744f1c14da77e230440c1c31b4.tar.gz
drm/exynos: added device object as argument of subdrv_probe().
sub drivers should refer to its own device object to access its own context. Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_drv.h')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h
index 4ea1371..002f292 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.h
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h
@@ -219,7 +219,7 @@ struct exynos_drm_subdrv {
struct list_head list;
struct drm_device *drm_dev;
- int (*probe)(struct drm_device *dev);
+ int (*probe)(struct drm_device *drm_dev, struct device *dev);
void (*remove)(struct drm_device *dev);
struct exynos_drm_manager manager;
OpenPOWER on IntegriCloud