drm/radeon: Fix wrong boolean operator
authorStefan Weil <weil@mail.berlios.de>
Fri, 28 Jan 2011 22:35:18 +0000 (23:35 +0100)
committerDave Airlie <airlied@redhat.com>
Sun, 30 Jan 2011 23:58:35 +0000 (09:58 +1000)
commite468e0017b656841b661e57a948c3b858d58b959
treedc4cccb6ab68d778b92ca3d3b6313dad35eb9374
parent1f0324caefd39985e9fe052fac97da31694db31e
drm/radeon: Fix wrong boolean operator

This error is reported by cppcheck:
drivers/gpu/drm/radeon/radeon_encoders.c:1066: warning: Mutual exclusion over || always evaluates to true. Did you intend to use && instead?

It looks like cppcheck is correct, so fix this. No test was run.

Cc: David Airlie <airlied@linux.ie>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_encoders.c