2023-12-13 10:04:16

by Dario Binacchi

[permalink] [raw]
Subject: [linux-next:master] drm/panel: synaptics-r63353: adjust the includes

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-synaptics-r63353.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/panel/panel-synaptics-r63353.c b/drivers/gpu/drm/panel/panel-synaptics-r63353.c
index 3f61fcdc550b..169c629746c7 100644
--- a/drivers/gpu/drm/panel/panel-synaptics-r63353.c
+++ b/drivers/gpu/drm/panel/panel-synaptics-r63353.c
@@ -9,10 +9,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/media-bus-format.h>

#include <linux/gpio/consumer.h>
--
2.43.0


2023-12-13 10:56:50

by Neil Armstrong

[permalink] [raw]
Subject: Re: [linux-next:master] drm/panel: synaptics-r63353: adjust the includes

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-synaptics-r63353.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/panel/panel-synaptics-r63353.c b/drivers/gpu/drm/panel/panel-synaptics-r63353.c
> index 3f61fcdc550b..169c629746c7 100644
> --- a/drivers/gpu/drm/panel/panel-synaptics-r63353.c
> +++ b/drivers/gpu/drm/panel/panel-synaptics-r63353.c
> @@ -9,10 +9,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/media-bus-format.h>
>
> #include <linux/gpio/consumer.h>

Please send to correct mailing lists with appropriate maintainers/reviewers.

Thanks,
Neil