[PATCH 1/2] drm/exynos: Fix build after removal of DRM_HZ

Mark Brown broonie at kernel.org
Tue Jan 7 05:59:11 PST 2014


From: Mark Brown <broonie at linaro.org>

Commit bfd8303af0c46 (drm: Kill DRM_HZ) removed the definition of DRM_HZ
but did not remove its use in the Exynos DRM driver causing it to fail to
build. Fix that.

Signed-off-by: Mark Brown <broonie at linaro.org>
---
 drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
index 267aca91b70d..bdfe31fb731b 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
@@ -347,7 +347,7 @@ static void fimd_wait_for_vblank(struct device *dev)
 	 */
 	if (!wait_event_timeout(ctx->wait_vsync_queue,
 				!atomic_read(&ctx->wait_vsync_event),
-				DRM_HZ/20))
+				HZ / 20))
 		DRM_DEBUG_KMS("vblank wait timed out.\n");
 }
 
-- 
1.8.5.2



More information about the dri-devel mailing list