[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181230174838.32330-6-sam@ravnborg.org>
Date: Sun, 30 Dec 2018 18:48:29 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: Daniel Vetter <daniel@...ll.ch>, David Airlie <airlied@...ux.ie>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <maxime.ripard@...tlin.com>,
Sean Paul <sean@...rly.run>,
David Lechner <david@...hnology.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org
Cc: Sam Ravnborg <sam@...nborg.org>,
Jani Nikula <jani.nikula@...el.com>
Subject: [PATCH v2 05/14] drm: make drm_file.h self contained
drm_file.h embed struct idr, so this file need to know
the full type definition.
With this change users of drm_file.h are no longer forced
to include idr.h - a file they usually get from drmP.h
This makes it simpler to remove drmP.h includes
Signed-off-by: Sam Ravnborg <sam@...nborg.org>
Cc: Jani Nikula <jani.nikula@...el.com>
Cc: Daniel Vetter <daniel@...ll.ch>
Cc: Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>
Cc: Maxime Ripard <maxime.ripard@...tlin.com>
Cc: Sean Paul <sean@...rly.run>
Cc: David Airlie <airlied@...ux.ie>
---
include/drm/drm_file.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/drm/drm_file.h b/include/drm/drm_file.h
index 84ac79219e4c..bbdb74c3d7ff 100644
--- a/include/drm/drm_file.h
+++ b/include/drm/drm_file.h
@@ -30,6 +30,7 @@
#ifndef _DRM_FILE_H_
#define _DRM_FILE_H_
+#include <linux/idr.h>
#include <linux/types.h>
#include <linux/completion.h>
--
2.12.0
Powered by blists - more mailing lists