summaryrefslogtreecommitdiff
path: root/include/linux/iio
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2017-10-10 19:15:34 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-10-14 20:29:20 +0300
commite0005bd93ab5f7a80b08a7bdff9b2ade436f9482 (patch)
tree16b7258a1585c3fcf68d9f161d86b6bbca50739a /include/linux/iio
parent79e641886676115e0ee2467e85b7bfe98ebae5fa (diff)
downloadlinux-e0005bd93ab5f7a80b08a7bdff9b2ade436f9482.tar.xz
iio: Drop duplicate forward declaration
Commit 5f420b42079c ("staging:iio: Add extended IIO channel info") added a forward declaration for struct iio_dev to <linux/iio/iio.h> but forgot to remove an existing forward declaration further down originating from commit 7ae8cf627558 ("staging: iio: chrdev.h rationalization"). Cc: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/iio')
-rw-r--r--include/linux/iio/iio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h
index 50cae8504256..20b61347ea58 100644
--- a/include/linux/iio/iio.h
+++ b/include/linux/iio/iio.h
@@ -365,7 +365,6 @@ unsigned int iio_get_time_res(const struct iio_dev *indio_dev);
#define INDIO_MAX_RAW_ELEMENTS 4
struct iio_trigger; /* forward declaration */
-struct iio_dev;
/**
* struct iio_info - constant information about device