video: of_display_timing.h: include errno.h
authorHsin-Yi Wang <hsinyi@chromium.org>
Thu, 30 Jun 2022 17:33:29 +0000 (01:33 +0800)
committerHelge Deller <deller@gmx.de>
Wed, 6 Jul 2022 15:16:20 +0000 (17:16 +0200)
commit3663a2fb325b8782524f3edb0ae32d6faa615109
treeddaacfeac4efe3feee7fa1ea0bd719aeda225576
parent955f04766d4e6eb94bf3baa539e096808c74ebfb
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>
include/video/of_display_timing.h