OSDN Git Service

drm: Include the header with the prototype for drm_get_panel_orientation_quirk()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 26 Feb 2018 14:24:23 +0000 (16:24 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 26 Feb 2018 15:39:59 +0000 (17:39 +0200)
sparse complains:
drivers/gpu/drm/drm_panel_orientation_quirks.c:133:5: warning: symbol 'drm_get_panel_orientation_quirk' was not declared. Should it be static?

Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180226142423.26439-1-ville.syrjala@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
drivers/gpu/drm/drm_panel_orientation_quirks.c

index 1f2af70..902cc1a 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/dmi.h>
 #include <linux/module.h>
 #include <drm/drm_connector.h>
+#include <drm/drm_utils.h>
 
 #ifdef CONFIG_DMI