arm64: imx: Use dummy busfreq implementation
authorViorel Suman <viorel.suman@nxp.com>
Wed, 19 Apr 2017 12:01:50 +0000 (15:01 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:04 +0000 (15:22 -0500)
There are no busfreq methods implemented for
ARM64, so use the dummy methods in this case.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
include/linux/busfreq-imx.h

index 2a2459a..6c98244 100644 (file)
@@ -42,7 +42,7 @@ enum bus_freq_mode {
        BUS_FREQ_ULTRA_LOW,
 };
 
-#ifdef CONFIG_CPU_FREQ
+#if defined(CONFIG_CPU_FREQ) && !defined(CONFIG_ARM64)
 extern struct regulator *arm_reg;
 extern struct regulator *soc_reg;
 void request_bus_freq(enum bus_freq_mode mode);