OMAP: DSS2: Clean up DISPC overlay manager register definitions
authorArchit Taneja <archit@ti.com>
Fri, 6 May 2011 06:15:50 +0000 (11:45 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 11 May 2011 11:20:52 +0000 (14:20 +0300)
commit702d144845086cacf8bb4f23196189f260c250e2
tree536f9af661ea3cd004591c3bde278febf0d3d786
parent9b372c2d9da43be00e8a267730a2428e0eae12e8
OMAP: DSS2: Clean up DISPC overlay manager register definitions

Represent manager/channel specific DISPC registers as inline functions returning
the required dispc_reg struct. This is done since the current method is not
scalable as the number of overlay managers increase in number.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dispc.h