summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.h
diff options
context:
space:
mode:
authorTaneja, Archit <archit@ti.com>2011-03-15 05:28:21 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-03-15 07:23:51 +0100
commit235e7dba0264d4c6e56ee217fc7ef6d80da5eb67 (patch)
tree77e6e5f82a98f08d529212656104682b024fbbc6 /drivers/video/omap2/dss/dss.h
parentHACK: OMAP: DSS2: VENC: disable VENC on OMAP4 to prevent crash (diff)
downloadlinux-235e7dba0264d4c6e56ee217fc7ef6d80da5eb67.tar.xz
linux-235e7dba0264d4c6e56ee217fc7ef6d80da5eb67.zip
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>
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r--drivers/video/omap2/dss/dss.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h
index b845468d9706..26a43c93e489 100644
--- a/drivers/video/omap2/dss/dss.h
+++ b/drivers/video/omap2/dss/dss.h
@@ -126,12 +126,6 @@ enum dss_clk_source {
* OMAP4: DSS_FCLK */
};
-/* Correlates clock source name and dss_clk_source member */
-struct dss_clk_source_name {
- enum dss_clk_source clksrc;
- const char *clksrc_name;
-};
-
struct dss_clock_info {
/* rates that we get with dividers below */
unsigned long fck;