OMAP2PLUS:DSS2: add opt_clock_available in pdata
authorSemwal, Sumit <sumit.semwal@ti.com>
Tue, 1 Mar 2011 08:42:13 +0000 (02:42 -0600)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 Mar 2011 13:46:26 +0000 (15:46 +0200)
commitfd4b34f60736a20c5acd81cbb3083a0c60ae058e
treef1ad8b71aae0336de1e68727f795df8f20872ac8
parent4b6b7fa2d3677d1d86780c73fe2284147713e3b1
OMAP2PLUS:DSS2: add opt_clock_available in pdata

Provide a function in pdata to allow dss submodules to check if a given
clock is available on a platform as an optional clock.

Signed-off-by: Senthilvadivu Guruswamy <svadivu@ti.com>
(based on implementation from Senthil)

Signed-off-by: Sumit Semwal <sumit.semwal@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
arch/arm/mach-omap2/display.c
arch/arm/plat-omap/include/plat/display.h