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 1f2af707ce03e9670fec85a779404f70fcf29585..902cc1a71e45271c5e6ac0c4a01f259600d2946a 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