From a503059c14215ac4325e25d9061cad992a373e17 Mon Sep 17 00:00:00 2001 From: Ben Dooks Date: Tue, 21 Oct 2008 14:06:43 +0100 Subject: [PATCH] [ARM] S3C24XX: Move headers from plat-s3c24xx to plat-s3c Move clock.h, cpu.h and devs.h to plat-s3c for use with the s3c64xx support. Signed-off-by: Ben Dooks --- arch/arm/{plat-s3c24xx => plat-s3c}/include/plat/clock.h | 3 +-- arch/arm/{plat-s3c24xx => plat-s3c}/include/plat/cpu.h | 4 ++-- arch/arm/{plat-s3c24xx => plat-s3c}/include/plat/devs.h | 0 3 files changed, 3 insertions(+), 4 deletions(-) rename arch/arm/{plat-s3c24xx => plat-s3c}/include/plat/clock.h (95%) rename arch/arm/{plat-s3c24xx => plat-s3c}/include/plat/cpu.h (94%) rename arch/arm/{plat-s3c24xx => plat-s3c}/include/plat/devs.h (100%) diff --git a/arch/arm/plat-s3c24xx/include/plat/clock.h b/arch/arm/plat-s3c/include/plat/clock.h similarity index 95% rename from arch/arm/plat-s3c24xx/include/plat/clock.h rename to arch/arm/plat-s3c/include/plat/clock.h index ba174aab76f2..d871609738f9 100644 --- a/arch/arm/plat-s3c24xx/include/plat/clock.h +++ b/arch/arm/plat-s3c/include/plat/clock.h @@ -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/ diff --git a/arch/arm/plat-s3c24xx/include/plat/cpu.h b/arch/arm/plat-s3c/include/plat/cpu.h similarity index 94% rename from arch/arm/plat-s3c24xx/include/plat/cpu.h rename to arch/arm/plat-s3c/include/plat/cpu.h index bd0a02963b46..011157ea871a 100644 --- a/arch/arm/plat-s3c24xx/include/plat/cpu.h +++ b/arch/arm/plat-s3c/include/plat/cpu.h @@ -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 @@ -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; diff --git a/arch/arm/plat-s3c24xx/include/plat/devs.h b/arch/arm/plat-s3c/include/plat/devs.h similarity index 100% rename from arch/arm/plat-s3c24xx/include/plat/devs.h rename to arch/arm/plat-s3c/include/plat/devs.h -- 2.39.5