]> git.karo-electronics.de Git - mv-sheeva.git/commit
OMAP2PLUS: DSS2: FEATURES: Fix usage of dss_reg_field and dss_clk_source_name
authorTaneja, Archit <archit@ti.com>
Tue, 15 Mar 2011 04:28:21 +0000 (23:28 -0500)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Mar 2011 06:23:51 +0000 (11:53 +0530)
commit235e7dba0264d4c6e56ee217fc7ef6d80da5eb67
tree77e6e5f82a98f08d529212656104682b024fbbc6
parentba02fa37de80bea10d706f39f076dd848348320a
OMAP2PLUS: DSS2: FEATURES: Fix usage of dss_reg_field and dss_clk_source_name

The structures dss_reg_field and dss_clk_source_name have enum members which
specify the register field and the clock source respectively. These members are
not used to choose the correct result in the corresponding feature functions.
Remove these members and change the features array declaration to incorporate
these enums.

The structure dss_clk_source_name without the enum member is just a pointer to
an string. Remove the structure and use a character pointer directly.

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