Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/exynos/decon: Move headers from global to local place

The DECON headers contain only defines for registers. There are no
other drivers using them so this should be put locally to the Exynos DRM
driver. Keeping headers local helps managing the code.

Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>

authored by

Krzysztof Kozlowski and committed by
Inki Dae
4f52e550 cb30701b

+3 -5
+1 -2
drivers/gpu/drm/exynos/exynos5433_drm_decon.c
··· 21 21 #include <linux/pm_runtime.h> 22 22 #include <linux/regmap.h> 23 23 24 - #include <video/exynos5433_decon.h> 25 - 26 24 #include "exynos_drm_drv.h" 27 25 #include "exynos_drm_crtc.h" 28 26 #include "exynos_drm_fb.h" 29 27 #include "exynos_drm_plane.h" 30 28 #include "exynos_drm_iommu.h" 29 + #include "regs-decon5433.h" 31 30 32 31 #define DSD_CFG_MUX 0x1004 33 32 #define DSD_CFG_MUX_TE_UNMASK_GLOBAL BIT(13)
+1 -1
drivers/gpu/drm/exynos/exynos7_drm_decon.c
··· 25 25 26 26 #include <video/of_display_timing.h> 27 27 #include <video/of_videomode.h> 28 - #include <video/exynos7_decon.h> 29 28 30 29 #include "exynos_drm_crtc.h" 31 30 #include "exynos_drm_plane.h" 32 31 #include "exynos_drm_drv.h" 33 32 #include "exynos_drm_fb.h" 34 33 #include "exynos_drm_iommu.h" 34 + #include "regs-decon7.h" 35 35 36 36 /* 37 37 * DECON stands for Display and Enhancement controller.
include/video/exynos5433_decon.h drivers/gpu/drm/exynos/regs-decon5433.h
+1 -2
include/video/exynos7_decon.h drivers/gpu/drm/exynos/regs-decon7.h
··· 1 - /* include/video/exynos7_decon.h 2 - * 1 + /* 3 2 * Copyright (c) 2014 Samsung Electronics Co., Ltd. 4 3 * Author: Ajay Kumar <ajaykumar.rs@samsung.com> 5 4 *