diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-04-03 13:38:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-05 14:13:29 -0700 |
commit | 5f8eb72cef685462e1465ce3f317eaac4d93f9bd (patch) | |
tree | 65bd1f6f39be9673949d3b0975b0a4daa2afab50 /drivers/staging/comedi/range.c | |
parent | ff0f7ad58fcd614b990d0ce649a918bfeb644cde (diff) | |
download | linux-5f8eb72cef685462e1465ce3f317eaac4d93f9bd.tar.bz2 |
staging: comedi: range: introduce range_unipolar2_5
Introduce a simple unipolar 0 to 2.5 range, range_unipolar2_5, for
use by the comedi drivers.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/range.c')
-rw-r--r-- | drivers/staging/comedi/range.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/comedi/range.c b/drivers/staging/comedi/range.c index 59ff0cf73381..efec9022a7ae 100644 --- a/drivers/staging/comedi/range.c +++ b/drivers/staging/comedi/range.c @@ -35,6 +35,8 @@ const struct comedi_lrange range_unipolar10 = { 1, {UNI_RANGE(10)} }; EXPORT_SYMBOL(range_unipolar10); const struct comedi_lrange range_unipolar5 = { 1, {UNI_RANGE(5)} }; EXPORT_SYMBOL(range_unipolar5); +const struct comedi_lrange range_unipolar2_5 = { 1, {UNI_RANGE(2.5)} }; +EXPORT_SYMBOL(range_unipolar2_5); const struct comedi_lrange range_unknown = { 1, {{0, 1000000, UNIT_none} } }; EXPORT_SYMBOL(range_unknown); |