summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-03-26 14:47:00 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-04-04 21:20:56 +0200
commit89c16919a0781308db6ca45e51a995e67cd90367 (patch)
tree5f1babf666cc16a506ee0820d8c5c31bfc1e7a35 /lib
parentdt-bindings: iio: add Bosch BMG160 gyroscope sensor (diff)
downloadlinux-89c16919a0781308db6ca45e51a995e67cd90367.tar.xz
linux-89c16919a0781308db6ca45e51a995e67cd90367.zip
iio: Make possible to include driver.h first
If we put headers alphabetically sorted in the IIO driver, the compilation will abort because of unknown type to handle. Simple add a forward declaration of opaque struct iio_dev. Suggested-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions