mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
ANDROID: GKI: fix CRC changes in ttm_tt.c
In commitef7efa60a3("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:
@@ -37,7 +37,9 @@
|
|||||||
#include <linux/file.h>
|
#include <linux/file.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <drm/drm_cache.h>
|
#include <drm/drm_cache.h>
|
||||||
|
#ifndef __GENKSYMS__
|
||||||
#include <drm/drm_device.h>
|
#include <drm/drm_device.h>
|
||||||
|
#endif
|
||||||
#include <drm/ttm/ttm_bo_driver.h>
|
#include <drm/ttm/ttm_bo_driver.h>
|
||||||
|
|
||||||
#include "ttm_module.h"
|
#include "ttm_module.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user