aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/2901-Fixing-the-compilation-issues-v9.patch
blob: 91a6c65897252bbda63857edfba5838316164bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 3d38dacc8f55220a382e4bdacb6affff6067033d Mon Sep 17 00:00:00 2001
From: Kalyan Alle <kalyan.alle@amd.com>
Date: Wed, 25 Apr 2018 16:45:39 +0530
Subject: [PATCH 2901/4131] Fixing the compilation issues v9

This patch fixes the compilation issues prompted during
porting from branch : amd-18.0 repo: brahma/ec/linux
till commit : a7419387dd40b04654c5599c29c69bc4681ea5f2

Signed-off-by: kalyan alle <kalyan.alle@amd.com>
---
 drivers/gpu/drm/amd/display/dc/os_types.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/os_types.h b/drivers/gpu/drm/amd/display/dc/os_types.h
index 0bdbab3..83427a8 100644
--- a/drivers/gpu/drm/amd/display/dc/os_types.h
+++ b/drivers/gpu/drm/amd/display/dc/os_types.h
@@ -52,13 +52,9 @@
 
 #define dm_vlog(fmt, args) vprintk(fmt, args)
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
 #if defined(CONFIG_DRM_AMD_DC_DCN1_0)
 #include <asm/fpu/api.h>
 #endif
-#else
-#include <asm/i387.h>
-#endif
 
 /*
  *
-- 
2.7.4