Skip to content

Commit

Permalink
OMAPDSS: HDMI: remove unused defines
Browse files Browse the repository at this point in the history
Remove some unused defines from the HDMI driver.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Tomi Valkeinen committed May 23, 2014
1 parent fc2daf3 commit 2dcfdc3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions drivers/video/fbdev/omap2/dss/hdmi4_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -998,9 +998,6 @@ int hdmi4_audio_get_dma_port(u32 *offset, u32 *size)

#endif

#define CORE_OFFSET 0x400
#define CORE_SIZE 0xc00

int hdmi4_core_init(struct platform_device *pdev, struct hdmi_core_data *core)
{
struct resource *res;
Expand Down
3 changes: 0 additions & 3 deletions drivers/video/fbdev/omap2/dss/hdmi_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,6 @@ int hdmi_phy_configure(struct hdmi_phy_data *phy, struct hdmi_config *cfg)
return 0;
}

#define PHY_OFFSET 0x300
#define PHY_SIZE 0x100

static const struct hdmi_phy_features omap44xx_phy_feats = {
.bist_ctrl = false,
.calc_freqout = false,
Expand Down
3 changes: 0 additions & 3 deletions drivers/video/fbdev/omap2/dss/hdmi_pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,6 @@ void hdmi_pll_disable(struct hdmi_pll_data *pll, struct hdmi_wp_data *wp)
hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_ALLOFF);
}

#define PLL_OFFSET 0x200
#define PLL_SIZE 0x100

static const struct hdmi_pll_features omap44xx_pll_feats = {
.sys_reset = false,
.bound_dcofreq = false,
Expand Down
2 changes: 0 additions & 2 deletions drivers/video/fbdev/omap2/dss/hdmi_wp.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ int hdmi_wp_audio_core_req_enable(struct hdmi_wp_data *wp, bool enable)
}
#endif

#define WP_SIZE 0x200

int hdmi_wp_init(struct platform_device *pdev, struct hdmi_wp_data *wp)
{
struct resource *res;
Expand Down

0 comments on commit 2dcfdc3

Please sign in to comment.