aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'exynos/exynos_drm.c')
-rw-r--r--exynos/exynos_drm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/exynos/exynos_drm.c b/exynos/exynos_drm.c
index b961e520..e1afef65 100644
--- a/exynos/exynos_drm.c
+++ b/exynos/exynos_drm.c
@@ -24,10 +24,6 @@
24 * Inki Dae <inki.dae@samsung.com> 24 * Inki Dae <inki.dae@samsung.com>
25 */ 25 */
26 26
27#ifdef HAVE_CONFIG_H
28#include "config.h"
29#endif
30
31#include <stdlib.h> 27#include <stdlib.h>
32#include <stdio.h> 28#include <stdio.h>
33#include <string.h> 29#include <string.h>
@@ -417,7 +413,7 @@ exynos_handle_event(struct exynos_device *dev, struct exynos_event_context *ctx)
417 413
418 i = 0; 414 i = 0;
419 while (i < len) { 415 while (i < len) {
420 e = (struct drm_event *) &buffer[i]; 416 e = (struct drm_event *)(buffer + i);
421 switch (e->type) { 417 switch (e->type) {
422 case DRM_EVENT_VBLANK: 418 case DRM_EVENT_VBLANK:
423 if (evctx->version < 1 || 419 if (evctx->version < 1 ||