summaryrefslogtreecommitdiffstats
path: root/drivers/iio/iio_core.h
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-02-07 17:09:00 +0000
committerJonathan Cameron <jic23@kernel.org>2013-03-16 10:17:59 +0000
commit17d82b47a215ded05ee3fb8d93b7c1269dbe0083 (patch)
tree9c97b48bad7e01d1450fa8e53a7cb4e688b3d41f /drivers/iio/iio_core.h
parentcddc1424f39e7c04045a6431eaf13a003fb8335a (diff)
downloadlinux-17d82b47a215ded05ee3fb8d93b7c1269dbe0083.tar.bz2
iio: Add OF support
Provide bindings and parse OF data during initialization. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/iio_core.h')
-rw-r--r--drivers/iio/iio_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/iio_core.h b/drivers/iio/iio_core.h
index f652e6ae5a35..05c1b74502a3 100644
--- a/drivers/iio/iio_core.h
+++ b/drivers/iio/iio_core.h
@@ -18,6 +18,7 @@
struct iio_chan_spec;
struct iio_dev;
+extern struct device_type iio_device_type;
int __iio_add_chan_devattr(const char *postfix,
struct iio_chan_spec const *chan,