aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2011-11-19 10:43:14 +0800
committerEric Miao <eric.miao@linaro.org>2011-12-01 11:36:44 +0800
commit6f2be2cb4945205f5ab927379d2e8867424225ab (patch)
tree321d9b725ab150d0b9ac04026e9a1df6f3f80bd2
parentd5d3b6928419e793e7e8a66de0a1cb4800ebd326 (diff)
ENGR00162646 [DVFS]Fix build warning
Fix dvfs_core build warning: arch/arm/plat-mxc/dvfs_core.c:824: warning: 'downthreshold_show' defined but not used arch/arm/plat-mxc/dvfs_core.c:830: warning: 'downthreshold_store' defined but not used arch/arm/plat-mxc/dvfs_core.c:842: warning: 'downcount_show' defined but not used arch/arm/plat-mxc/dvfs_core.c:848: warning: 'downcount_store' defined but not used Signed-off-by: Anson Huang <b20788@freescale.com>
-rw-r--r--arch/arm/plat-mxc/dvfs_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/dvfs_core.c b/arch/arm/plat-mxc/dvfs_core.c
index f1a74ba503a..006530416ed 100644
--- a/arch/arm/plat-mxc/dvfs_core.c
+++ b/arch/arm/plat-mxc/dvfs_core.c
@@ -820,7 +820,7 @@ void dump_dvfs_core_regs()
__raw_readl(dvfs_data->membase
+ MXC_DVFSCORE_THRS + 0x40));
}
-
+#if 0
static ssize_t downthreshold_show(struct device *dev,
struct device_attribute *attr, char *buf)
{
@@ -856,7 +856,7 @@ static ssize_t downcount_store(struct device *dev,
return size;
}
-
+#endif
static ssize_t dvfs_enable_show(struct device *dev,
struct device_attribute *attr, char *buf)