samsung: emc: make strong API for setting boost frequency
authorChoonghoon Park <choong.park@samsung.com>
Fri, 15 Jun 2018 10:22:32 +0000 (19:22 +0900)
committerlakkyung.jung <lakkyung.jung@samsung.com>
Mon, 23 Jul 2018 05:59:41 +0000 (14:59 +0900)
Change-Id: I0ea3b00ce1b3e07864bbddd370319538e037629e

drivers/soc/samsung/exynos-emc.c

index 89aed239a942269ccea115c5efa3307689664b06..0f305f5834bee3caefef3056e8f2643a56122e40 100644 (file)
@@ -26,6 +26,7 @@
 #include <dt-bindings/soc/samsung/exynos-emc.h>
 
 #include <trace/events/power.h>
+#include "../../cpufreq/exynos-acme.h"
 #include "../../../kernel/sched/sched.h"
 
 #define DEFAULT_BOOT_ENABLE_MS (40000)         /* 40 s */
@@ -245,7 +246,7 @@ check_real_freq:
 /*
  * return highest boost frequency
  */
-int emc_get_boost_freq(int cpu)
+unsigned int exynos_pstate_get_boost_freq(int cpu)
 {
        struct emc_domain *domain = emc_get_boost_domain();