mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
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>
This commit is contained in:
parent
e8379e05e8
commit
89c16919a0
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#ifndef _IIO_INKERN_H_
|
||||
#define _IIO_INKERN_H_
|
||||
|
||||
struct iio_dev;
|
||||
struct iio_map;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue