Commit 7baa77f1 authored by Ville Syrjälä's avatar Ville Syrjälä

drm/fb-helper: Include prototype for drm_fb_helper_modinit()

Sparse complains:
drivers/gpu/drm/drm_fb_helper.c:2409:12: warning: symbol 'drm_fb_helper_modinit' was not declared. Should it be static?

Include the header with the correct prototype.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190710125143.9965-1-ville.syrjala@linux.intel.comReviewed-by: default avatarSean Paul <sean@poorly.run>
parent d56276a1
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
#include <drm/drm_print.h> #include <drm/drm_print.h>
#include <drm/drm_vblank.h> #include <drm/drm_vblank.h>
#include "drm_crtc_helper_internal.h"
#include "drm_internal.h" #include "drm_internal.h"
static bool drm_fbdev_emulation = true; static bool drm_fbdev_emulation = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment