We need CONFIG_S3C2410_PWM for the GTA02, but we don't explicitly
select it, which can cause build failures.

This patch makes CONFIG_MACH_NEO1973_GTA02 select CONFIG_S3C2410_PWM.

I'm not sure if this is the right place, though. mach-s3c2410/pwm.c
was done for Openmoko but it looks generic enough that one may well
consider it to be part of the general machine code. In this case,
CONFIG_CPU_S3C2440 should select CONFIG_S3C2410_PWM.

Ben, may I ask you for guidance on this issue ? If it's okay to
select CONFIG_S3C2410_PWM on CONFIG_CPU_S3C2440, then I'll post a
revised patch.

Signed-off-by: Werner Almesberger <[email protected]>

---

Index: ktrack/arch/arm/mach-s3c2440/Kconfig
===================================================================
--- ktrack.orig/arch/arm/mach-s3c2440/Kconfig   2009-01-17 21:21:15.000000000 
-0200
+++ ktrack/arch/arm/mach-s3c2440/Kconfig        2009-01-17 21:21:30.000000000 
-0200
@@ -96,6 +96,7 @@
        select POWER_SUPPLY
        select GTA02_HDQ
        select MACH_NEO1973
+       select S3C2410_PWM
        help
           Say Y here if you are using the FIC Neo1973 GSM Phone
 

Reply via email to