Jelajahi Sumber

[ARM] S3C: Fix PWM build on S3C6400

The pwm-clock.c needs <mach/map.h> which is included
via other means on S3C24XX systems, so ensure it is
explicitly included.

Remove the includes of regs-clock.h and regs-gpio.h as
these are not needed by the build.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Ben Dooks 16 tahun lalu
induk
melakukan
e550ae7416
1 mengubah file dengan 1 tambahan dan 3 penghapusan
  1. 1 3
      arch/arm/plat-s3c/pwm-clock.c

+ 1 - 3
arch/arm/plat-s3c/pwm-clock.c

@@ -19,11 +19,9 @@
 #include <linux/io.h>
 
 #include <mach/hardware.h>
+#include <mach/map.h>
 #include <asm/irq.h>
 
-#include <mach/regs-clock.h>
-#include <mach/regs-gpio.h>
-
 #include <plat/clock.h>
 #include <plat/cpu.h>