Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <swboyd@chromium.org>
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Hsin-Yi Wang and committed by
Helge Deller
3663a2fb 955f0476

+2
+2
include/video/of_display_timing.h
··· 8 8 #ifndef __LINUX_OF_DISPLAY_TIMING_H 9 9 #define __LINUX_OF_DISPLAY_TIMING_H 10 10 11 + #include <linux/errno.h> 12 + 11 13 struct device_node; 12 14 struct display_timing; 13 15 struct display_timings;