summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMayuresh Janorkar <mayur@ti.com>2010-08-13 16:36:21 +0530
committerSamreen <samreen@ti.com>2010-08-13 17:04:49 +0530
commit0568491d2270092df172c6e779b51fed1cd082be (patch)
treef77c7936320e6a99be684f568bb0bf810b6d258e /drivers
parent69fdf6f883c540cfe507ce544386dc7904d8ee00 (diff)
Fixing warnings in dss files
This patch would fix compilation warnings in dss.c and dss.h file Signed-off-by: Mayuresh Janorkar <mayur@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/omap2/dss/dss.c2
-rw-r--r--drivers/video/omap2/dss/dss.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c
index 6387c04b299b..c6144fd5671a 100644
--- a/drivers/video/omap2/dss/dss.c
+++ b/drivers/video/omap2/dss/dss.c
@@ -129,6 +129,8 @@ void dss_restore_context(void)
#undef SR
#undef RR
+static int use_count;
+
void dss_clk_enable()
{
use_count++;
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h
index b34b424c943c..7bff1ba2558d 100644
--- a/drivers/video/omap2/dss/dss.h
+++ b/drivers/video/omap2/dss/dss.h
@@ -283,7 +283,6 @@ int dss_get_clock_div(struct dss_clock_info *cinfo);
int dss_calc_clock_div(bool is_tft, unsigned long req_pck,
struct dss_clock_info *dss_cinfo,
struct dispc_clock_info *dispc_cinfo);
-static int use_count;
/* SDI */
#ifdef CONFIG_OMAP2_DSS_SDI