diff options
Diffstat (limited to 'arch/arm/mach-omap2/display.c')
-rw-r--r-- | arch/arm/mach-omap2/display.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 18693f6de041..8ad0a2f0367d 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c | |||
@@ -35,14 +35,6 @@ static struct platform_device omap_display_device = { | |||
35 | }, | 35 | }, |
36 | }; | 36 | }; |
37 | 37 | ||
38 | static struct omap_device_pm_latency omap_dss_latency[] = { | ||
39 | [0] = { | ||
40 | .deactivate_func = omap_device_idle_hwmods, | ||
41 | .activate_func = omap_device_enable_hwmods, | ||
42 | .flags = OMAP_DEVICE_LATENCY_AUTO_ADJUST, | ||
43 | }, | ||
44 | }; | ||
45 | |||
46 | struct omap_dss_hwmod_data { | 38 | struct omap_dss_hwmod_data { |
47 | const char *oh_name; | 39 | const char *oh_name; |
48 | const char *dev_name; | 40 | const char *dev_name; |
@@ -111,8 +103,7 @@ int __init omap_display_init(struct omap_dss_board_info *board_data) | |||
111 | pdev = omap_device_build(curr_dss_hwmod[i].dev_name, | 103 | pdev = omap_device_build(curr_dss_hwmod[i].dev_name, |
112 | curr_dss_hwmod[i].id, oh, &pdata, | 104 | curr_dss_hwmod[i].id, oh, &pdata, |
113 | sizeof(struct omap_display_platform_data), | 105 | sizeof(struct omap_display_platform_data), |
114 | omap_dss_latency, | 106 | NULL, 0, 0); |
115 | ARRAY_SIZE(omap_dss_latency), 0); | ||
116 | 107 | ||
117 | if (WARN((IS_ERR(pdev)), "Could not build omap_device for %s\n", | 108 | if (WARN((IS_ERR(pdev)), "Could not build omap_device for %s\n", |
118 | curr_dss_hwmod[i].oh_name)) | 109 | curr_dss_hwmod[i].oh_name)) |