From ff8e724b41e99cd5097d45076eaff0156a2bd537 Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Mon, 5 Dec 2011 21:56:00 +0000 Subject: [PATCH] --- yaml --- r: 281250 b: refs/heads/master c: 6c63dded7fcd5b69f8492895b5584333e32b822d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/iio/iio.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 93d1505ff7bd..5e815dfbe514 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 18cffbedc2c4af8a83816a9ee17a010138abd36b +refs/heads/master: 6c63dded7fcd5b69f8492895b5584333e32b822d diff --git a/trunk/drivers/staging/iio/iio.h b/trunk/drivers/staging/iio/iio.h index c22554245a62..11c2f25cfaa7 100644 --- a/trunk/drivers/staging/iio/iio.h +++ b/trunk/drivers/staging/iio/iio.h @@ -110,6 +110,10 @@ enum iio_endian { * @extend_name: Allows labeling of channel attributes with an * informative name. Note this has no effect codes etc, * unlike modifiers. + * @datasheet_name: A name used in in kernel mapping of channels. It should + * corrspond to the first name that the channel is referred + * to by in the datasheet (e.g. IND), or the nearest + * possible compound name (e.g. IND-INC). * @processed_val: Flag to specify the data access attribute should be * *_input rather than *_raw. * @modified: Does a modifier apply to this channel. What these are @@ -138,6 +142,7 @@ struct iio_chan_spec { long info_mask; long event_mask; char *extend_name; + const char *datasheet_name; unsigned processed_val:1; unsigned modified:1; unsigned indexed:1;