summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_gem_ttm_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_ttm_helper.h
parent03848335b5b1faa4a4641fcf30b7c233579a45aa (diff)
downloadlinux-ae710a458f0af6ba2b991ebdddffc66e8dbd765a.tar.bz2
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_ttm_helper.h')
-rw-r--r--include/drm/drm_gem_ttm_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_gem_ttm_helper.h b/include/drm/drm_gem_ttm_helper.h
index c1aa02bd4c89..78040f6cc6f3 100644
--- a/include/drm/drm_gem_ttm_helper.h
+++ b/include/drm/drm_gem_ttm_helper.h
@@ -3,7 +3,7 @@
#ifndef DRM_GEM_TTM_HELPER_H
#define DRM_GEM_TTM_HELPER_H
-#include <linux/kernel.h>
+#include <linux/container_of.h>
#include <drm/drm_device.h>
#include <drm/drm_gem.h>