From b9436986d279bac57fec5a98b860e4ab93a6f8d9 Mon Sep 17 00:00:00 2001 From: Ville Syrjälä Date: Wed, 10 Jul 2019 15:51:42 +0300 Subject: drm/syncobj: Include the prototype for drm_timeout_abs_to_jiffies() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- drivers/gpu/drm/drm_syncobj.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/drm/drm_syncobj.c') diff --git a/drivers/gpu/drm/drm_syncobj.c b/drivers/gpu/drm/drm_syncobj.c index 4b5c7b0ed714..9ec334663c2d 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" -- cgit v1.2.3-70-g09d2