diff mbox series

[1/4] drm/armada: Include <linux/of.h>

Message ID 20230330073046.7150-2-tzimmermann@suse.de (mailing list archive)
State New, archived
Headers show
Series drm/armada: Convert fbdev to DRM client | expand

Commit Message

Thomas Zimmermann March 30, 2023, 7:30 a.m. UTC
Include <linux/of.h> to get declarations of of_node_put() and
of_device_is_available(). No functional changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 drivers/gpu/drm/armada/armada_drv.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Sui Jingfeng March 30, 2023, 11:44 a.m. UTC | #1
Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn>

On 2023/3/30 15:30, Thomas Zimmermann wrote:
> Include <linux/of.h> to get declarations of of_node_put() and
> of_device_is_available(). No functional changes.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
> ---
>   drivers/gpu/drm/armada/armada_drv.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c
> index 0643887800b4..fd9842740a08 100644
> --- a/drivers/gpu/drm/armada/armada_drv.c
> +++ b/drivers/gpu/drm/armada/armada_drv.c
> @@ -6,6 +6,7 @@
>   #include <linux/clk.h>
>   #include <linux/component.h>
>   #include <linux/module.h>
> +#include <linux/of.h>
>   #include <linux/of_graph.h>
>   #include <linux/platform_device.h>
>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c
index 0643887800b4..fd9842740a08 100644
--- a/drivers/gpu/drm/armada/armada_drv.c
+++ b/drivers/gpu/drm/armada/armada_drv.c
@@ -6,6 +6,7 @@ 
 #include <linux/clk.h>
 #include <linux/component.h>
 #include <linux/module.h>
+#include <linux/of.h>
 #include <linux/of_graph.h>
 #include <linux/platform_device.h>