diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-03-05 10:23:59 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-04-03 08:19:18 -0400 |
commit | b7ec96c78b0d5c89f5a1082e62e0d0021b2920ed (patch) | |
tree | 4aaec4504f381e75bf1c8422e857035a71be8fea /drivers/video/omap2/dss/dss.h | |
parent | f1e0001f973cfbec62d702cbd3d56f6b703cc90e (diff) |
OMAPDSS: remove unused old clock calculation code
Now that the old clock calculation code is no longer used, we can remove
it from the driver.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r-- | drivers/video/omap2/dss/dss.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index dde6cc109480..faaf35857b0e 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h | |||
@@ -268,8 +268,6 @@ void dss_set_dac_pwrdn_bgz(bool enable); | |||
268 | unsigned long dss_get_dpll4_rate(void); | 268 | unsigned long dss_get_dpll4_rate(void); |
269 | int dss_calc_clock_rates(struct dss_clock_info *cinfo); | 269 | int dss_calc_clock_rates(struct dss_clock_info *cinfo); |
270 | int dss_set_clock_div(struct dss_clock_info *cinfo); | 270 | int dss_set_clock_div(struct dss_clock_info *cinfo); |
271 | int dss_calc_clock_div(unsigned long req_pck, struct dss_clock_info *dss_cinfo, | ||
272 | struct dispc_clock_info *dispc_cinfo); | ||
273 | 271 | ||
274 | typedef bool (*dss_div_calc_func)(int fckd, unsigned long fck, void *data); | 272 | typedef bool (*dss_div_calc_func)(int fckd, unsigned long fck, void *data); |
275 | bool dss_div_calc(unsigned long fck_min, dss_div_calc_func func, void *data); | 273 | bool dss_div_calc(unsigned long fck_min, dss_div_calc_func func, void *data); |
@@ -310,9 +308,6 @@ bool dsi_pll_calc(struct platform_device *dsidev, unsigned long clkin, | |||
310 | unsigned long dsi_get_pll_hsdiv_dispc_rate(struct platform_device *dsidev); | 308 | unsigned long dsi_get_pll_hsdiv_dispc_rate(struct platform_device *dsidev); |
311 | int dsi_pll_set_clock_div(struct platform_device *dsidev, | 309 | int dsi_pll_set_clock_div(struct platform_device *dsidev, |
312 | struct dsi_clock_info *cinfo); | 310 | struct dsi_clock_info *cinfo); |
313 | int dsi_pll_calc_clock_div_pck(struct platform_device *dsidev, | ||
314 | unsigned long req_pck, struct dsi_clock_info *cinfo, | ||
315 | struct dispc_clock_info *dispc_cinfo); | ||
316 | int dsi_pll_init(struct platform_device *dsidev, bool enable_hsclk, | 311 | int dsi_pll_init(struct platform_device *dsidev, bool enable_hsclk, |
317 | bool enable_hsdiv); | 312 | bool enable_hsdiv); |
318 | void dsi_pll_uninit(struct platform_device *dsidev, bool disconnect_lanes); | 313 | void dsi_pll_uninit(struct platform_device *dsidev, bool disconnect_lanes); |
@@ -343,14 +338,6 @@ static inline int dsi_pll_set_clock_div(struct platform_device *dsidev, | |||
343 | WARN("%s: DSI not compiled in\n", __func__); | 338 | WARN("%s: DSI not compiled in\n", __func__); |
344 | return -ENODEV; | 339 | return -ENODEV; |
345 | } | 340 | } |
346 | static inline int dsi_pll_calc_clock_div_pck(struct platform_device *dsidev, | ||
347 | unsigned long req_pck, | ||
348 | struct dsi_clock_info *dsi_cinfo, | ||
349 | struct dispc_clock_info *dispc_cinfo) | ||
350 | { | ||
351 | WARN("%s: DSI not compiled in\n", __func__); | ||
352 | return -ENODEV; | ||
353 | } | ||
354 | static inline int dsi_pll_init(struct platform_device *dsidev, | 341 | static inline int dsi_pll_init(struct platform_device *dsidev, |
355 | bool enable_hsclk, bool enable_hsdiv) | 342 | bool enable_hsclk, bool enable_hsdiv) |
356 | { | 343 | { |
@@ -400,8 +387,6 @@ bool dispc_div_calc(unsigned long dispc, | |||
400 | bool dispc_mgr_timings_ok(enum omap_channel channel, | 387 | bool dispc_mgr_timings_ok(enum omap_channel channel, |
401 | const struct omap_video_timings *timings); | 388 | const struct omap_video_timings *timings); |
402 | unsigned long dispc_fclk_rate(void); | 389 | unsigned long dispc_fclk_rate(void); |
403 | void dispc_find_clk_divs(unsigned long req_pck, unsigned long fck, | ||
404 | struct dispc_clock_info *cinfo); | ||
405 | int dispc_calc_clock_rates(unsigned long dispc_fclk_rate, | 390 | int dispc_calc_clock_rates(unsigned long dispc_fclk_rate, |
406 | struct dispc_clock_info *cinfo); | 391 | struct dispc_clock_info *cinfo); |
407 | 392 | ||