drm: Include the header with the prototype for drm_get_panel_orientation_quirk()
authorVille Syrjälä <[email protected]>
Mon, 26 Feb 2018 14:24:23 +0000 (16:24 +0200)
committerVille Syrjälä <[email protected]>
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 <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
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