From ef26958a0c44b503ee39b2319e240be36bb34415 Mon Sep 17 00:00:00 2001 From: Archit Taneja Date: Thu, 12 Sep 2013 17:45:57 +0530 Subject: [PATCH] omapdss: HDMI: Rename hdmi driver files to nicer names Replace the ti_hdmi_4xxx* notation for OMAP4 HDMI driver with hdmi4. Rename the hdmi.c encoder driver to hdmi4.c. Rename ti_hdmi.h to hdmi.h Signed-off-by: Archit Taneja Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/dss/Makefile | 4 ++-- drivers/video/omap2/dss/core.c | 4 ++-- drivers/video/omap2/dss/dss.h | 4 ++-- drivers/video/omap2/dss/{ti_hdmi.h => hdmi.h} | 8 +++----- drivers/video/omap2/dss/{hdmi.c => hdmi4.c} | 18 +++++++----------- .../dss/{ti_hdmi_4xxx_ip.c => hdmi4_core.c} | 4 ++-- .../dss/{ti_hdmi_4xxx_ip.h => hdmi4_core.h} | 10 ++++------ drivers/video/omap2/dss/hdmi_phy.c | 2 +- drivers/video/omap2/dss/hdmi_pll.c | 2 +- drivers/video/omap2/dss/hdmi_wp.c | 2 +- 10 files changed, 25 insertions(+), 33 deletions(-) rename drivers/video/omap2/dss/{ti_hdmi.h => hdmi.h} (98%) rename drivers/video/omap2/dss/{hdmi.c => hdmi4.c} (98%) rename drivers/video/omap2/dss/{ti_hdmi_4xxx_ip.c => hdmi4_core.c} (99%) rename drivers/video/omap2/dss/{ti_hdmi_4xxx_ip.h => hdmi4_core.h} (98%) diff --git a/drivers/video/omap2/dss/Makefile b/drivers/video/omap2/dss/Makefile index d88e93870e15..f87ca3216a1f 100644 --- a/drivers/video/omap2/dss/Makefile +++ b/drivers/video/omap2/dss/Makefile @@ -10,6 +10,6 @@ omapdss-$(CONFIG_OMAP2_DSS_RFBI) += rfbi.o omapdss-$(CONFIG_OMAP2_DSS_VENC) += venc.o omapdss-$(CONFIG_OMAP2_DSS_SDI) += sdi.o omapdss-$(CONFIG_OMAP2_DSS_DSI) += dsi.o -omapdss-$(CONFIG_OMAP4_DSS_HDMI) += hdmi.o hdmi_wp.o hdmi_pll.o hdmi_phy.o \ - ti_hdmi_4xxx_ip.o +omapdss-$(CONFIG_OMAP4_DSS_HDMI) += hdmi4.o hdmi_wp.o hdmi_pll.o hdmi_phy.o \ + hdmi4_core.o ccflags-$(CONFIG_OMAP2_DSS_DEBUG) += -DDEBUG diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index 60d3958d04f7..ffa45c894cd4 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -266,7 +266,7 @@ static int (*dss_output_drv_reg_funcs[])(void) __initdata = { venc_init_platform_driver, #endif #ifdef CONFIG_OMAP4_DSS_HDMI - hdmi_init_platform_driver, + hdmi4_init_platform_driver, #endif }; @@ -287,7 +287,7 @@ static void (*dss_output_drv_unreg_funcs[])(void) __exitdata = { venc_uninit_platform_driver, #endif #ifdef CONFIG_OMAP4_DSS_HDMI - hdmi_uninit_platform_driver, + hdmi4_uninit_platform_driver, #endif }; diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index e172531d196b..f538e867c0f8 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h @@ -427,8 +427,8 @@ int venc_init_platform_driver(void) __init; void venc_uninit_platform_driver(void) __exit; /* HDMI */ -int hdmi_init_platform_driver(void) __init; -void hdmi_uninit_platform_driver(void) __exit; +int hdmi4_init_platform_driver(void) __init; +void hdmi4_uninit_platform_driver(void) __exit; /* RFBI */ int rfbi_init_platform_driver(void) __init; diff --git a/drivers/video/omap2/dss/ti_hdmi.h b/drivers/video/omap2/dss/hdmi.h similarity index 98% rename from drivers/video/omap2/dss/ti_hdmi.h rename to drivers/video/omap2/dss/hdmi.h index 5034080ccfa9..b92d981063dc 100644 --- a/drivers/video/omap2/dss/ti_hdmi.h +++ b/drivers/video/omap2/dss/hdmi.h @@ -1,7 +1,5 @@ /* - * ti_hdmi.h - * - * HDMI driver definition for TI OMAP4, DM81xx, DM38xx Processor. + * HDMI driver definition for TI OMAP4 Processor. * * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/ * @@ -18,8 +16,8 @@ * this program. If not, see . */ -#ifndef _TI_HDMI_H -#define _TI_HDMI_H +#ifndef _HDMI_H +#define _HDMI_H #include #include diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi4.c similarity index 98% rename from drivers/video/omap2/dss/hdmi.c rename to drivers/video/omap2/dss/hdmi4.c index f03d6c7530e4..324ecd00e4da 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi4.c @@ -1,7 +1,5 @@ /* - * hdmi.c - * - * HDMI interface DSS driver setting for TI's OMAP4 family of processor. + * HDMI interface DSS driver for TI's OMAP4 family of SoCs. * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/ * Authors: Yong Zhi * Mythri pk @@ -36,8 +34,7 @@ #include #include