summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_drv.h
diff options
context:
space:
mode:
authorArchit Taneja2015-11-18 07:45:14 +0100
committerRob Clark2015-12-14 16:38:29 +0100
commite9fbdaf25cee78049cefb877e1d2fd36ffbf4af1 (patch)
treed74d58e6744b279e477ac574f17301424ad13e13 /drivers/gpu/drm/msm/msm_drv.h
parentdrm/msm/mdp5: high precision vblank timestamp support (diff)
downloadkernel-qcow2-linux-e9fbdaf25cee78049cefb877e1d2fd36ffbf4af1.tar.gz
kernel-qcow2-linux-e9fbdaf25cee78049cefb877e1d2fd36ffbf4af1.tar.xz
kernel-qcow2-linux-e9fbdaf25cee78049cefb877e1d2fd36ffbf4af1.zip
drm/msm: Remove non-DT code in msm_drv
Support for non-DT kernels was mainly to use v3.4 downstream kernels. This is no longer a priority now as we have reasonable support upstream. Remove CONFIG_OF from the top level msm_drv.c file. While we're at it, clean up the data matching process using of_device_get_match_data. Signed-off-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.h')
-rw-r--r--drivers/gpu/drm/msm/msm_drv.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h
index 9a713b7a009d..c1e7bba2fdb7 100644
--- a/drivers/gpu/drm/msm/msm_drv.h
+++ b/drivers/gpu/drm/msm/msm_drv.h
@@ -31,14 +31,9 @@
#include <linux/iommu.h>
#include <linux/types.h>
#include <linux/of_graph.h>
+#include <linux/of_device.h>
#include <asm/sizes.h>
-#ifndef CONFIG_OF
-#include <mach/board.h>
-#include <mach/socinfo.h>
-#include <mach/iommu_domains.h>
-#endif
-
#include <drm/drmP.h>
#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>