diff options
author | Tobias Jakobi <tjakobi@math.uni-bielefeld.de> | 2015-05-06 14:10:22 +0200 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2015-05-19 22:50:54 +0900 |
commit | 5b1d5bc690a9666b375496f5d680278f19687bc4 (patch) | |
tree | e03e69779fdf3bc893d08485cc6126ca55399b67 /drivers/gpu/drm/exynos/exynos7_drm_decon.c | |
parent | c0734fbaf49512dc62d544875bd9a4192329ce01 (diff) | |
download | op-kernel-dev-5b1d5bc690a9666b375496f5d680278f19687bc4.zip op-kernel-dev-5b1d5bc690a9666b375496f5d680278f19687bc4.tar.gz |
drm/exynos: 'win' is always unsigned
The index for the hardware layer is always >=0. Previous
code that also used -1 as special index is now gone.
Also apply this to 'ch_enabled' (decon/fimd), since the
variable is on the same line (and is again always unsigned).
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos7_drm_decon.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos7_drm_decon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos7_drm_decon.c b/drivers/gpu/drm/exynos/exynos7_drm_decon.c index 3d00df7..6714e5b 100644 --- a/drivers/gpu/drm/exynos/exynos7_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos7_drm_decon.c @@ -91,7 +91,7 @@ static void decon_wait_for_vblank(struct exynos_drm_crtc *crtc) static void decon_clear_channel(struct decon_context *ctx) { - int win, ch_enabled = 0; + unsigned int win, ch_enabled = 0; DRM_DEBUG_KMS("%s\n", __FILE__); |