dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: maarten.lankhorst@linux.intel.com
Cc: maxime.ripard@bootlin.com, dri-devel@lists.freedesktop.org
Subject: [PATCH] drm/syncobj: Include the <drm/drm_utils.h> header
Date: Mon, 27 May 2019 15:39:31 -0300	[thread overview]
Message-ID: <20190527183931.11367-1-festevam@gmail.com> (raw)

The prototype for 'drm_timeout_abs_to_jiffies' is provided by
the <drm/drm_utils.h> header.

Include this header to fix the following sparse warning:

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

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 drivers/gpu/drm/drm_syncobj.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/drm_syncobj.c b/drivers/gpu/drm/drm_syncobj.c
index 3d400905100b..b06fa424bd44 100644
--- a/drivers/gpu/drm/drm_syncobj.c
+++ b/drivers/gpu/drm/drm_syncobj.c
@@ -46,6 +46,7 @@
  * The file takes a reference on the kref.
  */
 
+#include <drm/drm_utils.h>
 #include <drm/drmP.h>
 #include <linux/file.h>
 #include <linux/fs.h>
-- 
2.17.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2019-05-27 18:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-27 18:39 Fabio Estevam [this message]
2019-05-27 18:53 ` [PATCH] drm/syncobj: Include the <drm/drm_utils.h> header Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190527183931.11367-1-festevam@gmail.com \
    --to=festevam@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=maxime.ripard@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox