[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240824104646.6445cebb@jic23-huawei>
Date: Sat, 24 Aug 2024 10:46:46 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
linux-iio@...r.kernel.org, chrome-platform@...ts.linux.dev,
linux-kernel@...r.kernel.org, Lars-Peter Clausen <lars@...afoo.de>, Benson
Leung <bleung@...omium.org>, Guenter Roeck <groeck@...omium.org>
Subject: Re: [PATCH v1 1/1] iio: proximity: cros_ec_mkbp_proximity: Switch
to including mod_devicetable.h for struct of_device_id definition
On Sat, 24 Aug 2024 01:07:18 +0300
Andy Shevchenko <andy.shevchenko@...il.com> wrote:
> of.h was only included for this definition, so include the correct header
> instead.
>
> Signed-off-by: Andy Shevchenko <andy.shevchenko@...il.com>
Applied.
> ---
> drivers/iio/proximity/cros_ec_mkbp_proximity.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/proximity/cros_ec_mkbp_proximity.c b/drivers/iio/proximity/cros_ec_mkbp_proximity.c
> index 4df506bb8b38..cff57d851762 100644
> --- a/drivers/iio/proximity/cros_ec_mkbp_proximity.c
> +++ b/drivers/iio/proximity/cros_ec_mkbp_proximity.c
> @@ -6,10 +6,10 @@
> */
>
> #include <linux/kernel.h>
> +#include <linux/mod_devicetable.h>
> #include <linux/module.h>
> #include <linux/mutex.h>
> #include <linux/notifier.h>
> -#include <linux/of.h>
> #include <linux/platform_device.h>
> #include <linux/slab.h>
> #include <linux/types.h>
Powered by blists - more mailing lists