ANDROID: GKI: fix CRC changes in ttm_tt.c

In commit ef7efa60a3 ("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: ef7efa60a3 ("drm/ttm: Make sure the mapped tt pages are decrypted when needed")
Change-Id: I7692323d1d3ff619df250f4e87e786d2bd2b1a72
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2025-01-03 09:41:23 +00:00
parent b59a4bd0cc
commit 5a18c898dd

View File

@@ -37,7 +37,9 @@
#include <linux/file.h>
#include <linux/module.h>
#include <drm/drm_cache.h>
#ifndef __GENKSYMS__
#include <drm/drm_device.h>
#endif
#include <drm/ttm/ttm_bo_driver.h>
#include "ttm_module.h"