From: Ville Syrjälä Date: Wed, 10 Jul 2019 12:51:42 +0000 (+0300) Subject: drm/syncobj: Include the prototype for drm_timeout_abs_to_jiffies() X-Git-Tag: v5.10.7~2352^2~6^2~1155 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9436986d279bac57fec5a98b860e4ab93a6f8d9;p=platform%2Fkernel%2Flinux-rpi.git drm/syncobj: Include the prototype for drm_timeout_abs_to_jiffies() Sparse complains: ../drivers/gpu/drm/drm_syncobj.c:942:13: warning: symbol 'drm_timeout_abs_to_jiffies' was not declared. Should it be static? Include the correct header with the prototype. Signed-off-by: Ville Syrjälä Link: https://patchwork.freedesktop.org/patch/msgid/20190710125143.9965-4-ville.syrjala@linux.intel.com Reviewed-by: Sean Paul --- diff --git a/drivers/gpu/drm/drm_syncobj.c b/drivers/gpu/drm/drm_syncobj.c index 4b5c7b0..9ec3346 100644 --- a/drivers/gpu/drm/drm_syncobj.c +++ b/drivers/gpu/drm/drm_syncobj.c @@ -135,6 +135,7 @@ #include #include #include +#include #include "drm_internal.h"