Hack to fix broken OMAP dss build in linaro 2.6.39 tree.
nicolas.pitre at linaro.org
Tue Jun 14 20:27:09 UTC 2011
On Tue, 14 Jun 2011, John Stultz wrote:
> So if the OMAP_DSS_DPI option is enabled, and the OMAP2_DSS_DSI option
> is not, you get the following build error with Nico's tree:
> drivers/video/omap2/dss/dpi.c: In function 'dpi_set_dsi_clk':
> drivers/video/omap2/dss/dpi.c:61: error: implicit declaration of function 'dsi_pll_calc_clock_div_pck'
> drivers/video/omap2/dss/dpi.c:66: error: implicit declaration of function 'dsi_pll_set_clock_div'
> drivers/video/omap2/dss/dpi.c: In function 'omapdss_dpi_display_enable':
> drivers/video/omap2/dss/dpi.c:192: error: implicit declaration of function 'dsi_pll_init'
> drivers/video/omap2/dss/dpi.c:209: error: implicit declaration of function 'dsi_pll_uninit'
> make: *** [drivers/video/omap2/dss/dpi.o] Error 1
> This was reported to the mailing list almost two weeks ago, and still is
> The following hack works around the issue by making sure DSI is enabled
> if DPI is enabled. Although I suspect this fix would still break if
> OMAP3 was disabled, but no worse then it already does today.
> Nico: Hopefully a proper fix is on its way, but in the meantime, please
> consider merging this.
Given this is 1) a hack, and 2) rather trivial to apply separately, I'd
prefer not to merge this so to keep the incentive for a real fix to
More information about the linaro-kernel