Skip to contentSkip to conversation

PM / devfreq: Disable Exynos4 driver build on multiplatform

PATCH MyungJoo Ham 2 participants 2 messages Jan 23, 2014

lore
Share & tools
lore

MyungJoo Ham

author Acked-by
#0 lore raw
Quoted 6 lines

Exynos4 devfreq driver uses mach/map.h which is not available on
multiplatform. Hence disable build on multiplatform for now.
Without this patch we get the following build errors:
drivers/devfreq/exynos/exynos4_bus.h:15:22: fatal error: mach/map.h: No such file or directory

Isn't this also required to be sent to linux-stable?

Quoted 22 lines
---
 drivers/devfreq/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/devfreq/Kconfig +1 -1
index 31f3adba4cf3..7d2f43550700 100644
@@ -67,7 +67,7 @@ comment "DEVFREQ Drivers"
 
 config ARM_EXYNOS4_BUS_DEVFREQ
 	bool "ARM Exynos4210/4212/4412 Memory Bus DEVFREQ Driver"
-	depends on CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412
+	depends on (CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412) && !ARCH_MULTIPLATFORM
 	select ARCH_HAS_OPP
 	select DEVFREQ_GOV_SIMPLE_ONDEMAND
 	help
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 8 lines · MyungJoo Ham
Quoted 6 lines

Exynos4 devfreq driver uses mach/map.h which is not available on
multiplatform. Hence disable build on multiplatform for now.
Without this patch we get the following build errors:
drivers/devfreq/exynos/exynos4_bus.h:15:22: fatal error: mach/map.h: No such file or directory

Isn't this also required to be sent to linux-stable?

No. This will be needed in the upcoming cycle onwards.

Quoted 2 lines

Wouldn't you be queueing this in your tree?

Signature · 2 lines
With warm regards,
Sachin