]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00162646 [DVFS]Fix build warning
authorAnson Huang <b20788@freescale.com>
Sat, 19 Nov 2011 02:43:14 +0000 (10:43 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:05 +0000 (14:10 +0200)
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>
arch/arm/plat-mxc/dvfs_core.c

index f1a74ba503aa7109a605542bba61cd9a9e0754d4..006530416edd8fe54c82fbf89c48ad7959978026 100755 (executable)
@@ -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)