Commit 81da57e64919f45e72d8e551f47ce38686ce0e78
Committed by
MyungJoo Ham
1 parent
bd7e927705
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
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: Punit Agrawal <punit.agrawal@arm.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Showing 2 changed files with 4 additions and 1 deletions Side-by-side Diff
drivers/devfreq/Kconfig
... | ... | @@ -78,7 +78,7 @@ |
78 | 78 | This does not yet operate with optimal voltages. |
79 | 79 | |
80 | 80 | config ARM_EXYNOS5_BUS_DEVFREQ |
81 | - bool "ARM Exynos5250 Bus DEVFREQ Driver" | |
81 | + tristate "ARM Exynos5250 Bus DEVFREQ Driver" | |
82 | 82 | depends on SOC_EXYNOS5250 |
83 | 83 | select DEVFREQ_GOV_SIMPLE_ONDEMAND |
84 | 84 | select PM_OPP |
drivers/devfreq/exynos/exynos_ppmu.c
... | ... | @@ -73,6 +73,7 @@ |
73 | 73 | exynos_ppmu_start(ppmu_base); |
74 | 74 | } |
75 | 75 | } |
76 | +EXPORT_SYMBOL(busfreq_mon_reset); | |
76 | 77 | |
77 | 78 | void exynos_read_ppmu(struct busfreq_ppmu_data *ppmu_data) |
78 | 79 | { |
... | ... | @@ -97,6 +98,7 @@ |
97 | 98 | |
98 | 99 | busfreq_mon_reset(ppmu_data); |
99 | 100 | } |
101 | +EXPORT_SYMBOL(exynos_read_ppmu); | |
100 | 102 | |
101 | 103 | int exynos_get_busier_ppmu(struct busfreq_ppmu_data *ppmu_data) |
102 | 104 | { |
... | ... | @@ -114,4 +116,5 @@ |
114 | 116 | |
115 | 117 | return busy; |
116 | 118 | } |
119 | +EXPORT_SYMBOL(exynos_get_busier_ppmu); |