aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiran Vedere <kvedere@marvell.com>2012-09-11 19:25:33 -0400
committerLubomir Rintel <lkundrak@v3.sk>2019-07-22 19:40:00 +0200
commit72c6e3357fe867bb7d31c35c9af4cc4d8c7aa938 (patch)
tree7ebae9288d7b862593a483cb4a95dcd8867ab26e
parent54b9cb9de66be7a186007090b29f8aab72d8adcd (diff)
downloadlinux-mmp3-dell-ariel-72c6e3357fe867bb7d31c35c9af4cc4d8c7aa938.tar.gz
MMP3: Fix compilation issue during merge with mrvl-3.0 branch
Signed-off-by: Kiran Vedere <kvedere@marvell.com>
-rw-r--r--arch/arm/mach-mmp/clock-mmp3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/clock-mmp3.c b/arch/arm/mach-mmp/clock-mmp3.c
index 1129f3cfff1fd4..ac6d3a5d2c695c 100644
--- a/arch/arm/mach-mmp/clock-mmp3.c
+++ b/arch/arm/mach-mmp/clock-mmp3.c
@@ -989,7 +989,9 @@ static struct devfreq_frequency_table mmp3_gc_clk_table[] = {
static int devfreq_reboot_notifier_call(struct notifier_block *this,
unsigned long code, void *_cmd)
{
+#ifdef CONFIG_DDR_DEVFREQ
disable_ddr_devfreq(1);
+#endif
return NOTIFY_DONE;
}