Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- .../drm/11-videomode-includes.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 patches/collateral-evolutions/drm/11-videomode-includes.patch diff --git a/patches/collateral-evolutions/drm/11-videomode-includes.patch b/patches/collateral-evolutions/drm/11-videomode-includes.patch new file mode 100644 index 0000000..1858cc3 --- /dev/null +++ b/patches/collateral-evolutions/drm/11-videomode-includes.patch @@ -0,0 +1,15 @@ +--- a/drivers/gpu/drm/drm_modes.c ++++ b/drivers/gpu/drm/drm_modes.c +@@ -35,8 +35,12 @@ + #include <linux/export.h> + #include <drm/drmP.h> + #include <drm/drm_crtc.h> ++#if IS_ENABLED(CONFIG_OF_VIDEOMODE) + #include <video/of_videomode.h> ++#endif ++#if IS_ENABLED(CONFIG_VIDEOMODE) + #include <video/videomode.h> ++#endif + + /** + * drm_mode_debug_printmodeline - debug print a mode -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html