diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-05-18 14:40:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-19 16:06:11 -0700 |
commit | 1d892719e70e477156f62e060e0805d991d450e5 (patch) | |
tree | 8793a50433e13d0df508c2cb91006ee2d28452d8 /drivers/staging/iio/chrdev.h | |
parent | 32890b983086136fef8721363a2d3860f337ad53 (diff) | |
download | talos-op-linux-1d892719e70e477156f62e060e0805d991d450e5.tar.gz talos-op-linux-1d892719e70e477156f62e060e0805d991d450e5.zip |
staging:iio: allow channels to be set up using a table of iio_channel_spec structures.
V8: Add missing address in IIO_CHAN macro. Spotted by Michael Hennerich.
V7: Document additions to iio_dev structure.
V6: Fixup the docs for iio_chan_spec structure.
V5: Actually have the macro handle the _input type channels (oops)
V4: Add ability to do, _input and modified channel naming in a coherent fashion.
Scrap all the messy IIO_CHAN_* macros and move to only one.
V3: Added more types - intensity and light.
V2: Various fixes - some thanks to Arnd.
Bug fix for unregistering of event attr group
Changed iio_read_channel_info to have two part value - use for
raw value read as well.
constify the channelspec structures
raw write support for calibbias and similar
Additional strings for buidling attribute names.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/chrdev.h')
-rw-r--r-- | drivers/staging/iio/chrdev.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/iio/chrdev.h b/drivers/staging/iio/chrdev.h index 4fcb99c816f9..62c4285cbef6 100644 --- a/drivers/staging/iio/chrdev.h +++ b/drivers/staging/iio/chrdev.h @@ -91,6 +91,9 @@ struct iio_event_interface { void *private; char _name[35]; char _attrname[20]; + + struct list_head event_attr_list; + struct list_head dev_attr_list; }; /** |