]> Pileus Git - ~andy/linux/commitdiff
[ARM] S3C24XX: Move headers from plat-s3c24xx to plat-s3c
authorBen Dooks <ben-linux@fluff.org>
Tue, 21 Oct 2008 13:06:43 +0000 (14:06 +0100)
committerBen Dooks <ben-linux@fluff.org>
Mon, 15 Dec 2008 21:46:10 +0000 (21:46 +0000)
Move clock.h, cpu.h and devs.h to plat-s3c for use
with the s3c64xx support.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c/include/plat/clock.h [moved from arch/arm/plat-s3c24xx/include/plat/clock.h with 95% similarity]
arch/arm/plat-s3c/include/plat/cpu.h [moved from arch/arm/plat-s3c24xx/include/plat/cpu.h with 94% similarity]
arch/arm/plat-s3c/include/plat/devs.h [moved from arch/arm/plat-s3c24xx/include/plat/devs.h with 100% similarity]

similarity index 95%
rename from arch/arm/plat-s3c24xx/include/plat/clock.h
rename to arch/arm/plat-s3c/include/plat/clock.h
index ba174aab76f2cec518b3adfaa1ac692a997fdc46..d871609738f9661275e25761333b10b058e49628 100644 (file)
@@ -1,5 +1,4 @@
-/* linux/include/asm-arm/plat-s3c24xx/clock.h
- * linux/arch/arm/mach-s3c2410/clock.h
+/* linux/arch/arm/plat-s3c/include/plat/clock.h
  *
  * Copyright (c) 2004-2005 Simtec Electronics
  *     http://www.simtec.co.uk/products/SWLINUX/
similarity index 94%
rename from arch/arm/plat-s3c24xx/include/plat/cpu.h
rename to arch/arm/plat-s3c/include/plat/cpu.h
index bd0a02963b4684f5fa9561151d2815896c5babe1..011157ea871abaf39e7a2c69ff7cebc76c68dfa6 100644 (file)
@@ -1,4 +1,4 @@
-/* linux/include/asm-arm/plat-s3c24xx/cpu.h
+/* linux/arch/arm/plat-s3c/include/plat/cpu.h
  *
  * Copyright (c) 2004-2005 Simtec Electronics
  *     Ben Dooks <ben@simtec.co.uk>
@@ -18,7 +18,7 @@
 #define MHZ (1000*1000)
 #endif
 
-#define print_mhz(m) ((m) / MHZ), ((m / 1000) % 1000)
+#define print_mhz(m) ((m) / MHZ), (((m) / 1000) % 1000)
 
 /* forward declaration */
 struct s3c24xx_uart_resources;