From c2d64243dc6ffc8fbf33ce6a1ea558baa8ce245b Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Sat, 19 Nov 2011 10:43:14 +0800 Subject: [PATCH] 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 --- arch/arm/plat-mxc/dvfs_core.c | 4 ++-- 1 file 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 100755 --- 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) -- 2.39.5