summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2011-11-19 10:43:14 +0800
committerAnson Huang <b20788@freescale.com>2011-11-19 10:55:13 +0800
commit20f8b104f56225f4264a253b082b4093b058872b (patch)
tree6ba0f74c49a48277584b10f5a37b4d0ecb6ab8ec
parent93a66c6f4bac9606fa2b61cfaa512ca3683c0a19 (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 f1a74ba503aa..006530416edd 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)