diff options
author | Nuno Sá <nuno.sa@analog.com> | 2022-06-10 10:45:30 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-15 22:07:09 +0100 |
commit | 10f09307199da274584b8170a41228ca6dfed6d3 (patch) | |
tree | f447b216d84e9cdc042c750b143b65ef0ca42d6e | |
parent | bf49a46b6d8b87c5b9c28692d1c66d911b1b73a2 (diff) | |
download | lwn-10f09307199da274584b8170a41228ca6dfed6d3.tar.gz lwn-10f09307199da274584b8170a41228ca6dfed6d3.zip |
iio: core: drop of.h from iio.h
There is no reason to include OF as we only need to forward declare
'of_phandle_args'. Previously, some drivers were actually relying on
this for some headers (those were already fixed).
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220610084545.547700-20-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r-- | include/linux/iio/iio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index 4e21a82b3756..d9b4a9ca9a0f 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h @@ -11,13 +11,14 @@ #include <linux/cdev.h> #include <linux/slab.h> #include <linux/iio/types.h> -#include <linux/of.h> /* IIO TODO LIST */ /* * Provide means of adjusting timer accuracy. * Currently assumes nano seconds. */ +struct of_phandle_args; + enum iio_shared_by { IIO_SEPARATE, IIO_SHARED_BY_TYPE, |