From: Nuno Sá Date: Fri, 10 Jun 2022 08:45:30 +0000 (+0200) Subject: iio: core: drop of.h from iio.h X-Git-Tag: v6.1-rc5~726^2~26^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10f09307199da274584b8170a41228ca6dfed6d3;p=platform%2Fkernel%2Flinux-starfive.git 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á Reviewed-by: Andy Shevchenko Link: https://lore.kernel.org/r/20220610084545.547700-20-nuno.sa@analog.com Signed-off-by: Jonathan Cameron --- diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index 4e21a82..d9b4a9c 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h @@ -11,13 +11,14 @@ #include #include #include -#include /* 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,