aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm/drm_gem_vram_helper.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-11-10 12:24:23 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2021-12-09 13:46:13 +0100
commitae710a458f0af6ba2b991ebdddffc66e8dbd765a (patch)
tree30ea7d804348f6ad18297746279c931ff670fe87 /include/drm/drm_gem_vram_helper.h
parentdrm/bridge: sn65dsi86: defer if there is no dsi host (diff)
downloadwireguard-linux-ae710a458f0af6ba2b991ebdddffc66e8dbd765a.tar.xz
wireguard-linux-ae710a458f0af6ba2b991ebdddffc66e8dbd765a.zip
drm: Replace kernel.h with the necessary inclusions
When kernel.h is used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved. Replace kernel.h inclusion with the list of what is really being used. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20211110102423.54282-1-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'include/drm/drm_gem_vram_helper.h')
-rw-r--r--include/drm/drm_gem_vram_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_gem_vram_helper.h b/include/drm/drm_gem_vram_helper.h
index d3cf06c9af65..b4ce27a72773 100644
--- a/include/drm/drm_gem_vram_helper.h
+++ b/include/drm/drm_gem_vram_helper.h
@@ -11,8 +11,8 @@
#include <drm/ttm/ttm_bo_api.h>
#include <drm/ttm/ttm_bo_driver.h>
+#include <linux/container_of.h>
#include <linux/dma-buf-map.h>
-#include <linux/kernel.h> /* for container_of() */
struct drm_mode_create_dumb;
struct drm_plane;