hafm/hafm-tb: modify featuring for managing divided files.
authorChoonghoon Park <choong.park@samsung.com>
Tue, 12 Jun 2018 09:19:27 +0000 (18:19 +0900)
committerlakkyung.jung <lakkyung.jung@samsung.com>
Mon, 23 Jul 2018 05:59:29 +0000 (14:59 +0900)
Change-Id: I01481cbaf0c3b0b38327dcaec3438a7218d7a2ac

drivers/soc/samsung/exynos-hiu.h

index e382456a44c7f3158fb5a3ec7c75d1488dd54d10..f121153d47194be7fe24933ab1a86bde42c644a1 100644 (file)
@@ -155,7 +155,7 @@ struct exynos_hiu_data {
        struct hiu_stats *      stats;
 };
 
-#ifdef CONFIG_EXYNOS_HIU
+#if defined(CONFIG_PSTATE_EXYNOS_HAFM) || defined(CONFIG_PSTATE_EXYNOS_HAFM_TB)
 extern int exynos_hiu_set_freq(unsigned int id, unsigned int req_freq);
 extern int exynos_hiu_get_freq(unsigned int id);
 extern int exynos_hiu_get_max_freq(void);