Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261972
b: refs/heads/master
c: aea4eb9
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed Jul 25, 2011
1 parent 4a55c6f commit 6ad805e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4fbafaf371be780ed2cd73a520dfeafa1ea73e24
refs/heads/master: aea4eb9590c6fa36e1b68b9cf5c3e4ddea402812
12 changes: 0 additions & 12 deletions trunk/arch/arm/mach-omap2/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,6 @@ static struct omap_device_pm_latency omap_dss_latency[] = {
/* oh_core is used for getting opt-clocks */
static struct omap_hwmod *oh_core;

static bool opt_clock_available(const char *clk_role)
{
int i;

for (i = 0; i < oh_core->opt_clks_cnt; i++) {
if (!strcmp(oh_core->opt_clks[i].role, clk_role))
return true;
}
return false;
}

struct omap_dss_hwmod_data {
const char *oh_name;
const char *dev_name;
Expand Down Expand Up @@ -120,7 +109,6 @@ int __init omap_display_init(struct omap_dss_board_info *board_data)
pdata.board_data = board_data;
pdata.board_data->get_context_loss_count =
omap_pm_get_dev_context_loss_count;
pdata.opt_clock_available = opt_clock_available;

for (i = 0; i < oh_count; i++) {
oh = omap_hwmod_lookup(curr_dss_hwmod[i].oh_name);
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/video/omapdss.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,6 @@ static inline int omap_display_init(struct omap_dss_board_info *board_data)
struct omap_display_platform_data {
struct omap_dss_board_info *board_data;
/* TODO: Additional members to be added when PM is considered */

bool (*opt_clock_available)(const char *clk_role);
};

struct omap_video_timings {
Expand Down

0 comments on commit 6ad805e

Please sign in to comment.