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