aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gpu_error.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2022-03-03 20:19:31 +0200
committerJani Nikula <jani.nikula@intel.com>2022-03-04 11:15:25 +0200
commite9b67ec2d38aef0987975b95f57ac56947895819 (patch)
tree32d35a275103a369d44ec79633a39cac19f6c135 /drivers/gpu/drm/i915/i915_gpu_error.c
parentdrm/i915/gmbus: alloc intel_gmbus dynamically (diff)
downloadlinux-dev-e9b67ec2d38aef0987975b95f57ac56947895819.tar.xz
linux-dev-e9b67ec2d38aef0987975b95f57ac56947895819.zip
drm/i915: include linux/highmem.h and linux/swap.h where needed
Include linux/highmem.h and linux/swap.h explicitly where needed so we can drop the linux/i2c.h include from i915_drv.h where it pulled in the dependencies implicitly. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220303181931.1661767-5-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gpu_error.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gpu_error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c
index 4967e79806f8..5e09a4e4b01a 100644
--- a/drivers/gpu/drm/i915/i915_gpu_error.c
+++ b/drivers/gpu/drm/i915/i915_gpu_error.c
@@ -28,6 +28,7 @@
*/
#include <linux/ascii85.h>
+#include <linux/highmem.h>
#include <linux/nmi.h>
#include <linux/pagevec.h>
#include <linux/scatterlist.h>