From 08a7aa1e5be7059d680fedf0a885655a895f638e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 21 Feb 2016 21:08:38 -0700 Subject: [PATCH] exynos: video: Move driver files into their own directory Move all the exynos video drivers into one place for ease of maintenance. Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin Signed-off-by: Minkyu Kang --- drivers/video/Makefile | 6 +----- drivers/video/exynos/Makefile | 12 ++++++++++++ drivers/video/{ => exynos}/exynos_dp.c | 0 drivers/video/{ => exynos}/exynos_dp_lowlevel.c | 0 drivers/video/{ => exynos}/exynos_dp_lowlevel.h | 0 drivers/video/{ => exynos}/exynos_fb.c | 0 drivers/video/{ => exynos}/exynos_fb.h | 0 drivers/video/{ => exynos}/exynos_fimd.c | 0 drivers/video/{ => exynos}/exynos_mipi_dsi.c | 0 drivers/video/{ => exynos}/exynos_mipi_dsi_common.c | 0 drivers/video/{ => exynos}/exynos_mipi_dsi_common.h | 0 .../video/{ => exynos}/exynos_mipi_dsi_lowlevel.c | 0 .../video/{ => exynos}/exynos_mipi_dsi_lowlevel.h | 0 drivers/video/{ => exynos}/exynos_pwm_bl.c | 0 drivers/video/s6e8ax0.c | 4 ++-- 15 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 drivers/video/exynos/Makefile rename drivers/video/{ => exynos}/exynos_dp.c (100%) rename drivers/video/{ => exynos}/exynos_dp_lowlevel.c (100%) rename drivers/video/{ => exynos}/exynos_dp_lowlevel.h (100%) rename drivers/video/{ => exynos}/exynos_fb.c (100%) rename drivers/video/{ => exynos}/exynos_fb.h (100%) rename drivers/video/{ => exynos}/exynos_fimd.c (100%) rename drivers/video/{ => exynos}/exynos_mipi_dsi.c (100%) rename drivers/video/{ => exynos}/exynos_mipi_dsi_common.c (100%) rename drivers/video/{ => exynos}/exynos_mipi_dsi_common.h (100%) rename drivers/video/{ => exynos}/exynos_mipi_dsi_lowlevel.c (100%) rename drivers/video/{ => exynos}/exynos_mipi_dsi_lowlevel.h (100%) rename drivers/video/{ => exynos}/exynos_pwm_bl.c (100%) diff --git a/drivers/video/Makefile b/drivers/video/Makefile index 2fd0891e5d..3f045fe578 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -25,11 +25,6 @@ obj-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o obj-$(CONFIG_ATMEL_HLCD) += atmel_hlcdfb.o obj-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.o obj-$(CONFIG_CFB_CONSOLE) += cfb_console.o -obj-$(CONFIG_EXYNOS_DP) += exynos_dp.o exynos_dp_lowlevel.o -obj-$(CONFIG_EXYNOS_FB) += exynos_fb.o exynos_fimd.o -obj-$(CONFIG_EXYNOS_MIPI_DSIM) += exynos_mipi_dsi.o exynos_mipi_dsi_common.o \ - exynos_mipi_dsi_lowlevel.o -obj-$(CONFIG_EXYNOS_PWM_BL) += exynos_pwm_bl.o obj-$(CONFIG_FSL_DIU_FB) += fsl_diu_fb.o videomodes.o obj-$(CONFIG_FSL_DCU_FB) += fsl_dcu_fb.o videomodes.o obj-$(CONFIG_L5F31188) += l5f31188.o @@ -68,6 +63,7 @@ obj-$(CONFIG_LG4573) += lg4573.o obj-$(CONFIG_AM335X_LCD) += am335x-fb.o obj-${CONFIG_VIDEO_TEGRA124} += tegra124/ +obj-${CONFIG_EXYNOS_FB} += exynos/ obj-${CONFIG_VIDEO_ROCKCHIP} += rockchip/ obj-y += bridge/ diff --git a/drivers/video/exynos/Makefile b/drivers/video/exynos/Makefile new file mode 100644 index 0000000000..d4bdf3230d --- /dev/null +++ b/drivers/video/exynos/Makefile @@ -0,0 +1,12 @@ +# +# (C) Copyright 2000-2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-$(CONFIG_EXYNOS_DP) += exynos_dp.o exynos_dp_lowlevel.o +obj-$(CONFIG_EXYNOS_FB) += exynos_fb.o exynos_fimd.o +obj-$(CONFIG_EXYNOS_MIPI_DSIM) += exynos_mipi_dsi.o exynos_mipi_dsi_common.o \ + exynos_mipi_dsi_lowlevel.o +obj-$(CONFIG_EXYNOS_PWM_BL) += exynos_pwm_bl.o diff --git a/drivers/video/exynos_dp.c b/drivers/video/exynos/exynos_dp.c similarity index 100% rename from drivers/video/exynos_dp.c rename to drivers/video/exynos/exynos_dp.c diff --git a/drivers/video/exynos_dp_lowlevel.c b/drivers/video/exynos/exynos_dp_lowlevel.c similarity index 100% rename from drivers/video/exynos_dp_lowlevel.c rename to drivers/video/exynos/exynos_dp_lowlevel.c diff --git a/drivers/video/exynos_dp_lowlevel.h b/drivers/video/exynos/exynos_dp_lowlevel.h similarity index 100% rename from drivers/video/exynos_dp_lowlevel.h rename to drivers/video/exynos/exynos_dp_lowlevel.h diff --git a/drivers/video/exynos_fb.c b/drivers/video/exynos/exynos_fb.c similarity index 100% rename from drivers/video/exynos_fb.c rename to drivers/video/exynos/exynos_fb.c diff --git a/drivers/video/exynos_fb.h b/drivers/video/exynos/exynos_fb.h similarity index 100% rename from drivers/video/exynos_fb.h rename to drivers/video/exynos/exynos_fb.h diff --git a/drivers/video/exynos_fimd.c b/drivers/video/exynos/exynos_fimd.c similarity index 100% rename from drivers/video/exynos_fimd.c rename to drivers/video/exynos/exynos_fimd.c diff --git a/drivers/video/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c similarity index 100% rename from drivers/video/exynos_mipi_dsi.c rename to drivers/video/exynos/exynos_mipi_dsi.c diff --git a/drivers/video/exynos_mipi_dsi_common.c b/drivers/video/exynos/exynos_mipi_dsi_common.c similarity index 100% rename from drivers/video/exynos_mipi_dsi_common.c rename to drivers/video/exynos/exynos_mipi_dsi_common.c diff --git a/drivers/video/exynos_mipi_dsi_common.h b/drivers/video/exynos/exynos_mipi_dsi_common.h similarity index 100% rename from drivers/video/exynos_mipi_dsi_common.h rename to drivers/video/exynos/exynos_mipi_dsi_common.h diff --git a/drivers/video/exynos_mipi_dsi_lowlevel.c b/drivers/video/exynos/exynos_mipi_dsi_lowlevel.c similarity index 100% rename from drivers/video/exynos_mipi_dsi_lowlevel.c rename to drivers/video/exynos/exynos_mipi_dsi_lowlevel.c diff --git a/drivers/video/exynos_mipi_dsi_lowlevel.h b/drivers/video/exynos/exynos_mipi_dsi_lowlevel.h similarity index 100% rename from drivers/video/exynos_mipi_dsi_lowlevel.h rename to drivers/video/exynos/exynos_mipi_dsi_lowlevel.h diff --git a/drivers/video/exynos_pwm_bl.c b/drivers/video/exynos/exynos_pwm_bl.c similarity index 100% rename from drivers/video/exynos_pwm_bl.c rename to drivers/video/exynos/exynos_pwm_bl.c diff --git a/drivers/video/s6e8ax0.c b/drivers/video/s6e8ax0.c index 84948177e2..1bd49eef80 100644 --- a/drivers/video/s6e8ax0.c +++ b/drivers/video/s6e8ax0.c @@ -9,8 +9,8 @@ #include #include -#include "exynos_mipi_dsi_lowlevel.h" -#include "exynos_mipi_dsi_common.h" +#include "exynos/exynos_mipi_dsi_lowlevel.h" +#include "exynos/exynos_mipi_dsi_common.h" static void s6e8ax0_panel_cond(struct mipi_dsim_device *dsim_dev) { -- 2.39.5