summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-02-17 14:27:13 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-18 11:55:30 -0800
commitf8bf22a8e087225fc6a294170006cb409ae1a8ae (patch)
treea2cb8aff473f911762fa6156ec9087162a36bfe5 /include/linux
parent2bfe3eb76fa427492924f48a32bf230bfb88caf8 (diff)
staging: comedi: pcl812: remove 'ai_maxdata' from boardinfo
Most of the board types supported by this driver have 12-bit analog inputs. Two of them, the acl8216 and a826pg, have 16-bit analog inputs. Remove the 'ai_maxdata' member from the boardinfo and replace it with a bit-field flag 'has_16bit_ai'. Refactor pcl812_attach() to use this new boardinfo. 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions