From: Krzysztof Helt Date: Sun, 27 Jan 2008 18:01:18 +0000 (+0100) Subject: [ARM] 4775/1: s3c2410: fix compilation error if only s3c2442 cpu is selected X-Git-Tag: v2.6.25-rc1~1175^2~2^9~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f7275dac55008f8296cfb89a01b1e71918ac7995;p=profile%2Fivi%2Fkernel-x86-ivi.git [ARM] 4775/1: s3c2410: fix compilation error if only s3c2442 cpu is selected This patch fixes compilation error if only a machine with s3c2442 cpu is selected but without s3c2440 cpu selected. Signed-off-by: Krzysztof Helt Acked-by: Ben Dooks Signed-off-by: Russell King --- diff --git a/include/asm-arm/arch-s3c2410/regs-dsc.h b/include/asm-arm/arch-s3c2410/regs-dsc.h index c074851..1235df7 100644 --- a/include/asm-arm/arch-s3c2410/regs-dsc.h +++ b/include/asm-arm/arch-s3c2410/regs-dsc.h @@ -19,7 +19,7 @@ #define S3C2412_DSC1 S3C2410_GPIOREG(0xe0) #endif -#if defined(CONFIG_CPU_S3C2440) +#if defined(CONFIG_CPU_S3C244X) #define S3C2440_DSC0 S3C2410_GPIOREG(0xc4) #define S3C2440_DSC1 S3C2410_GPIOREG(0xc8)