Adjust the includes to explicitly include the correct headers.
Suggested-by: Rob Herring <[email protected]>
Signed-off-by: Dario Binacchi <[email protected]>
---
drivers/gpu/drm/panel/panel-ilitek-ili9805.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9805.c b/drivers/gpu/drm/panel/panel-ilitek-ili9805.c
index 5054d1a2b2f5..1cbc25758bd2 100644
--- a/drivers/gpu/drm/panel/panel-ilitek-ili9805.c
+++ b/drivers/gpu/drm/panel/panel-ilitek-ili9805.c
@@ -7,10 +7,9 @@
#include <linux/device.h>
#include <linux/err.h>
#include <linux/errno.h>
-#include <linux/fb.h>
#include <linux/kernel.h>
#include <linux/module.h>
-#include <linux/of_device.h>
+#include <linux/of.h>
#include <linux/gpio/consumer.h>
#include <linux/regulator/consumer.h>
--
2.43.0
Hi,
On 13/12/2023 11:03, Dario Binacchi wrote:
> Adjust the includes to explicitly include the correct headers.
>
> Suggested-by: Rob Herring <[email protected]>
> Signed-off-by: Dario Binacchi <[email protected]>
> ---
> drivers/gpu/drm/panel/panel-ilitek-ili9805.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9805.c b/drivers/gpu/drm/panel/panel-ilitek-ili9805.c
> index 5054d1a2b2f5..1cbc25758bd2 100644
> --- a/drivers/gpu/drm/panel/panel-ilitek-ili9805.c
> +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9805.c
> @@ -7,10 +7,9 @@
> #include <linux/device.h>
> #include <linux/err.h>
> #include <linux/errno.h>
> -#include <linux/fb.h>
> #include <linux/kernel.h>
> #include <linux/module.h>
> -#include <linux/of_device.h>
> +#include <linux/of.h>
>
> #include <linux/gpio/consumer.h>
> #include <linux/regulator/consumer.h>
Please send to correct mailing lists with appropriate maintainers/reviewers.
Thanks,
Neil