Commit 81da57e6 authored by Punit Agrawal's avatar Punit Agrawal Committed by MyungJoo Ham

PM / devfreq: exynos: Enable building exynos PPMU as module

Export symbols from the PPMU driver needed to build the exynos bus
driver as a module.

Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: default avatarPunit Agrawal <punit.agrawal@arm.com>
Signed-off-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
parent bd7e9277
...@@ -78,7 +78,7 @@ config ARM_EXYNOS4_BUS_DEVFREQ ...@@ -78,7 +78,7 @@ config ARM_EXYNOS4_BUS_DEVFREQ
This does not yet operate with optimal voltages. This does not yet operate with optimal voltages.
config ARM_EXYNOS5_BUS_DEVFREQ config ARM_EXYNOS5_BUS_DEVFREQ
bool "ARM Exynos5250 Bus DEVFREQ Driver" tristate "ARM Exynos5250 Bus DEVFREQ Driver"
depends on SOC_EXYNOS5250 depends on SOC_EXYNOS5250
select DEVFREQ_GOV_SIMPLE_ONDEMAND select DEVFREQ_GOV_SIMPLE_ONDEMAND
select PM_OPP select PM_OPP
......
...@@ -73,6 +73,7 @@ void busfreq_mon_reset(struct busfreq_ppmu_data *ppmu_data) ...@@ -73,6 +73,7 @@ void busfreq_mon_reset(struct busfreq_ppmu_data *ppmu_data)
exynos_ppmu_start(ppmu_base); exynos_ppmu_start(ppmu_base);
} }
} }
EXPORT_SYMBOL(busfreq_mon_reset);
void exynos_read_ppmu(struct busfreq_ppmu_data *ppmu_data) void exynos_read_ppmu(struct busfreq_ppmu_data *ppmu_data)
{ {
...@@ -97,6 +98,7 @@ void exynos_read_ppmu(struct busfreq_ppmu_data *ppmu_data) ...@@ -97,6 +98,7 @@ void exynos_read_ppmu(struct busfreq_ppmu_data *ppmu_data)
busfreq_mon_reset(ppmu_data); busfreq_mon_reset(ppmu_data);
} }
EXPORT_SYMBOL(exynos_read_ppmu);
int exynos_get_busier_ppmu(struct busfreq_ppmu_data *ppmu_data) int exynos_get_busier_ppmu(struct busfreq_ppmu_data *ppmu_data)
{ {
...@@ -114,3 +116,4 @@ int exynos_get_busier_ppmu(struct busfreq_ppmu_data *ppmu_data) ...@@ -114,3 +116,4 @@ int exynos_get_busier_ppmu(struct busfreq_ppmu_data *ppmu_data)
return busy; return busy;
} }
EXPORT_SYMBOL(exynos_get_busier_ppmu);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment