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>
__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)
{
return size;
}
-
+#endif
static ssize_t dvfs_enable_show(struct device *dev,
struct device_attribute *attr, char *buf)