Skip to content

Commit 3663a2f

Browse files
hsinyi527hdeller
authored andcommitted
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: 422b67e ("videomode: provide dummy inline functions for !CONFIG_OF") Suggested-by: Stephen Boyd <[email protected]> Signed-off-by: Hsin-Yi Wang <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent 955f047 commit 3663a2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/video/of_display_timing.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#ifndef __LINUX_OF_DISPLAY_TIMING_H
99
#define __LINUX_OF_DISPLAY_TIMING_H
1010

11+
#include <linux/errno.h>
12+
1113
struct device_node;
1214
struct display_timing;
1315
struct display_timings;

0 commit comments

Comments
 (0)