Skip to contentSkip to conversation

drm/syncobj: include <drm/drm_utils.h> for drm_timeout_abs_to_jiffies

PATCH New Ben Dooks (Codethink) 1 participant 1 message Oct 15, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/syncobj: include <drm/drm_utils.h> for drm_timeout_abs_to_jiffies

Include <drm/drm_utils.h> for drm_timeout_abs_to_jiffies definiton to fix the following sparse warning:

drivers/gpu/drm/drm_syncobj.c:1019:13: warning: symbol 'drm_timeout_abs_to_jiffies' was not declared. Should it be static?

---
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Sean Paul <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: [email protected]
Cc: [email protected]

---
 drivers/gpu/drm/drm_syncobj.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_syncobj.c +1 -0
index 4b5c7b0ed714..9ec334663c2d 100644
@@ -135,6 +135,7 @@
 #include <drm/drm_gem.h>
 #include <drm/drm_print.h>
 #include <drm/drm_syncobj.h>
+#include <drm/drm_utils.h>
 
 #include "drm_internal.h"
 
Signature · 1 line
2.23.0