]> git.karo-electronics.de Git - linux-beck.git/commit
staging: vt6656: fix definitions of DEVICE_FLAGS_* flags
authorAlexey Tulia <alexey.tulia@gmail.com>
Sat, 21 Nov 2015 12:36:47 +0000 (15:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 03:03:24 +0000 (19:03 -0800)
commite7bda76fa4f54df7021e1014a9d20c5a050ca919
tree883ccd253a507b2efdbe46bd3d97aebbfa3f9bcb
parentf9f853af84c9205ba9dbc461da0f11da1f4abb53
staging: vt6656: fix definitions of DEVICE_FLAGS_* flags

test_bit and set_bit take the bit number to operate on, rather than a
mask. This patch fixes the DEVICE_FLAGS_* definitions so that they represent
the bit index in priv->flags as opposed to the mask returned by the
BIT macro.

Signed-off-by: Alexey Tulia <alexey.tulia@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h