summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/gpu/drm/exynos
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/gpu/drm/exynos')
-rw-r--r--kernel/drivers/gpu/drm/exynos/exynos_drm_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/gpu/drm/exynos/exynos_drm_core.c b/kernel/drivers/gpu/drm/exynos/exynos_drm_core.c
index 7f55ba677..011211e41 100644
--- a/kernel/drivers/gpu/drm/exynos/exynos_drm_core.c
+++ b/kernel/drivers/gpu/drm/exynos/exynos_drm_core.c
@@ -101,7 +101,7 @@ int exynos_drm_subdrv_open(struct drm_device *dev, struct drm_file *file)
return 0;
err:
- list_for_each_entry_reverse(subdrv, &subdrv->list, list) {
+ list_for_each_entry_continue_reverse(subdrv, &exynos_drm_subdrv_list, list) {
if (subdrv->close)
subdrv->close(dev, subdrv->dev, file);
}