From: H Hartley Sweeten Date: Mon, 14 Jul 2014 19:23:39 +0000 (-0700) Subject: staging: comedi: comedidev.h: introduce some 'range_is_external' helpers X-Git-Tag: cleanup-for-v3.18~125^2~693 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8b677cb534c78e0aaa3c999891df07073e25566;p=pandora-kernel.git staging: comedi: comedidev.h: introduce some 'range_is_external' helpers The comedi_krange includes a flags member that currently identifies the 'units' of the range (RF_UNIT) and if the range is from an internal or external source (RF_EXTERNAL). Introduce some helper functions to check if a given range is from an external source. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed