From: Hsin-Yi Wang Date: Thu, 30 Jun 2022 17:33:29 +0000 (+0800) Subject: video: of_display_timing.h: include errno.h X-Git-Tag: v6.6.17~7126^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3663a2fb325b8782524f3edb0ae32d6faa615109;p=platform%2Fkernel%2Flinux-rpi.git video: of_display_timing.h: include errno.h If CONFIG_OF is not enabled, default of_get_display_timing() returns an errno, so include the header. Fixes: 422b67e0b31a ("videomode: provide dummy inline functions for !CONFIG_OF") Suggested-by: Stephen Boyd Signed-off-by: Hsin-Yi Wang Reviewed-by: Stephen Boyd Signed-off-by: Helge Deller --- diff --git a/include/video/of_display_timing.h b/include/video/of_display_timing.h index e1126a7..eff166f 100644 --- a/include/video/of_display_timing.h +++ b/include/video/of_display_timing.h @@ -8,6 +8,8 @@ #ifndef __LINUX_OF_DISPLAY_TIMING_H #define __LINUX_OF_DISPLAY_TIMING_H +#include + struct device_node; struct display_timing; struct display_timings;