diff mbox series

[v3,08/13] video: fbdev: wmt_ge_rops: Fix function not declared warnings

Message ID 20201206190247.1861316-9-sam@ravnborg.org (mailing list archive)
State New, archived
Headers show
Series drivers/video: W=1 warning fixes | expand

Commit Message

Sam Ravnborg Dec. 6, 2020, 7:02 p.m. UTC
Include own header to fix "function not declared" warnings.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Tony Prisk <linux@prisktech.co.nz>
Cc: linux-arm-kernel@lists.infradead.org
---
 drivers/video/fbdev/wmt_ge_rops.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Zimmermann Dec. 7, 2020, 1:49 p.m. UTC | #1
Am 06.12.20 um 20:02 schrieb Sam Ravnborg:
> Include own header to fix "function not declared" warnings.
> 
> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
> Cc: Tony Prisk <linux@prisktech.co.nz>
> Cc: linux-arm-kernel@lists.infradead.org

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>

> ---
>   drivers/video/fbdev/wmt_ge_rops.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/video/fbdev/wmt_ge_rops.c b/drivers/video/fbdev/wmt_ge_rops.c
> index 2445cfe617a9..42255d27a1db 100644
> --- a/drivers/video/fbdev/wmt_ge_rops.c
> +++ b/drivers/video/fbdev/wmt_ge_rops.c
> @@ -11,6 +11,7 @@
>   #include <linux/fb.h>
>   #include <linux/platform_device.h>
>   #include "core/fb_draw.h"
> +#include "wmt_ge_rops.h"
>   
>   #define GE_COMMAND_OFF		0x00
>   #define GE_DEPTH_OFF		0x04
>
diff mbox series

Patch

diff --git a/drivers/video/fbdev/wmt_ge_rops.c b/drivers/video/fbdev/wmt_ge_rops.c
index 2445cfe617a9..42255d27a1db 100644
--- a/drivers/video/fbdev/wmt_ge_rops.c
+++ b/drivers/video/fbdev/wmt_ge_rops.c
@@ -11,6 +11,7 @@ 
 #include <linux/fb.h>
 #include <linux/platform_device.h>
 #include "core/fb_draw.h"
+#include "wmt_ge_rops.h"
 
 #define GE_COMMAND_OFF		0x00
 #define GE_DEPTH_OFF		0x04