From 5a18c898dda274ebb68b90b900eefbf5f37f52a8 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 3 Jan 2025 09:41:23 +0000 Subject: [PATCH] ANDROID: GKI: fix CRC changes in ttm_tt.c In commit ef7efa60a38d ("drm/ttm: Make sure the mapped tt pages are decrypted when needed"), drm_device.h gets included, which changes some CRC values of the exported functions in ttm_tt.c. Fix this up by only including that when NOT calculating the CRC values. Fixes: ef7efa60a38d ("drm/ttm: Make sure the mapped tt pages are decrypted when needed") Change-Id: I7692323d1d3ff619df250f4e87e786d2bd2b1a72 Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/ttm/ttm_tt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c index 1c397b4a5f9d..b714a9f1aefc 100644 --- a/drivers/gpu/drm/ttm/ttm_tt.c +++ b/drivers/gpu/drm/ttm/ttm_tt.c @@ -37,7 +37,9 @@ #include #include #include +#ifndef __GENKSYMS__ #include +#endif #include #include "ttm_module.h"