commit | ab3c44fa38b30b990fd1a29e5954b044488ff990 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Feb 19 10:11:26 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 21 12:39:38 2014 -0800 |
tree | ec93d6a633aca78d2ca18cd2338c2e395a80df22 | |
parent | 0f9c4c7e38c7e1f6669093e8220067fafb8dcae6 [diff] |
staging: comedi: pcl816: convert private data flags to bit-fields The 'irq_was_now_closed' member is actually a flag, devpriv->int816_mode will always be > 0 when it's used to set irq_was_now_closed in the cancel function. Convert the flags in the private data to bit-fields to save a bit of space. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>