aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/iio/iio_core.h
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2011-09-02 17:14:41 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-06 16:02:01 -0700
commite614a54b296185b266b4bd91193e08a5fbd32422 (patch)
tree9f2af9296030fbc80d0766d7ffb7ce52b065b236 /drivers/staging/iio/iio_core.h
parent26d25ae3f0d8ffe350aacc75b71198d6b35bd1f4 (diff)
staging:iio:attrs - make address a u64 to allow event codes to be used.
Makes unusual event related attributes look a lot more like the core ones. V2: Make sure the utils that set these up can handle the codes. V3: rebase Reported-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/iio_core.h')
-rw-r--r--drivers/staging/iio/iio_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/iio_core.h b/drivers/staging/iio/iio_core.h
index 3a80dbf22200..803bdd8a20e4 100644
--- a/drivers/staging/iio/iio_core.h
+++ b/drivers/staging/iio/iio_core.h
@@ -22,7 +22,7 @@ int __iio_add_chan_devattr(const char *postfix,
struct device_attribute *attr,
const char *buf,
size_t len),
- int mask,
+ u64 mask,
bool generic,
struct device *dev,
struct list_head *attr_list);