diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-05-23 07:40:47 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-05-23 07:40:47 -0400 |
commit | 2dcfdc3066e51a2143ed99f2a17ba2f1f32d42b7 (patch) | |
tree | 781f975ddd39b0b30898e3e5fb7ee192b24ee59d /drivers | |
parent | fc2daf3b1df0fd751df7dd16652f45fa407bd1cb (diff) |
OMAPDSS: HDMI: remove unused defines
Remove some unused defines from the HDMI driver.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/fbdev/omap2/dss/hdmi4_core.c | 3 | ||||
-rw-r--r-- | drivers/video/fbdev/omap2/dss/hdmi_phy.c | 3 | ||||
-rw-r--r-- | drivers/video/fbdev/omap2/dss/hdmi_pll.c | 3 | ||||
-rw-r--r-- | drivers/video/fbdev/omap2/dss/hdmi_wp.c | 2 |
4 files changed, 0 insertions, 11 deletions
diff --git a/drivers/video/fbdev/omap2/dss/hdmi4_core.c b/drivers/video/fbdev/omap2/dss/hdmi4_core.c index f02e9541bd6b..2678d6f06216 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi4_core.c +++ b/drivers/video/fbdev/omap2/dss/hdmi4_core.c | |||
@@ -998,9 +998,6 @@ int hdmi4_audio_get_dma_port(u32 *offset, u32 *size) | |||
998 | 998 | ||
999 | #endif | 999 | #endif |
1000 | 1000 | ||
1001 | #define CORE_OFFSET 0x400 | ||
1002 | #define CORE_SIZE 0xc00 | ||
1003 | |||
1004 | int hdmi4_core_init(struct platform_device *pdev, struct hdmi_core_data *core) | 1001 | int hdmi4_core_init(struct platform_device *pdev, struct hdmi_core_data *core) |
1005 | { | 1002 | { |
1006 | struct resource *res; | 1003 | struct resource *res; |
diff --git a/drivers/video/fbdev/omap2/dss/hdmi_phy.c b/drivers/video/fbdev/omap2/dss/hdmi_phy.c index 730641c076de..3970574c25a6 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi_phy.c +++ b/drivers/video/fbdev/omap2/dss/hdmi_phy.c | |||
@@ -182,9 +182,6 @@ int hdmi_phy_configure(struct hdmi_phy_data *phy, struct hdmi_config *cfg) | |||
182 | return 0; | 182 | return 0; |
183 | } | 183 | } |
184 | 184 | ||
185 | #define PHY_OFFSET 0x300 | ||
186 | #define PHY_SIZE 0x100 | ||
187 | |||
188 | static const struct hdmi_phy_features omap44xx_phy_feats = { | 185 | static const struct hdmi_phy_features omap44xx_phy_feats = { |
189 | .bist_ctrl = false, | 186 | .bist_ctrl = false, |
190 | .calc_freqout = false, | 187 | .calc_freqout = false, |
diff --git a/drivers/video/fbdev/omap2/dss/hdmi_pll.c b/drivers/video/fbdev/omap2/dss/hdmi_pll.c index 668c095c5552..6b78d4fb6f59 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi_pll.c +++ b/drivers/video/fbdev/omap2/dss/hdmi_pll.c | |||
@@ -210,9 +210,6 @@ void hdmi_pll_disable(struct hdmi_pll_data *pll, struct hdmi_wp_data *wp) | |||
210 | hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_ALLOFF); | 210 | hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_ALLOFF); |
211 | } | 211 | } |
212 | 212 | ||
213 | #define PLL_OFFSET 0x200 | ||
214 | #define PLL_SIZE 0x100 | ||
215 | |||
216 | static const struct hdmi_pll_features omap44xx_pll_feats = { | 213 | static const struct hdmi_pll_features omap44xx_pll_feats = { |
217 | .sys_reset = false, | 214 | .sys_reset = false, |
218 | .bound_dcofreq = false, | 215 | .bound_dcofreq = false, |
diff --git a/drivers/video/fbdev/omap2/dss/hdmi_wp.c b/drivers/video/fbdev/omap2/dss/hdmi_wp.c index b4520972ef3e..706ea90c376f 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi_wp.c +++ b/drivers/video/fbdev/omap2/dss/hdmi_wp.c | |||
@@ -238,8 +238,6 @@ int hdmi_wp_audio_core_req_enable(struct hdmi_wp_data *wp, bool enable) | |||
238 | } | 238 | } |
239 | #endif | 239 | #endif |
240 | 240 | ||
241 | #define WP_SIZE 0x200 | ||
242 | |||
243 | int hdmi_wp_init(struct platform_device *pdev, struct hdmi_wp_data *wp) | 241 | int hdmi_wp_init(struct platform_device *pdev, struct hdmi_wp_data *wp) |
244 | { | 242 | { |
245 | struct resource *res; | 243 | struct resource *res; |