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-Url: https://git.stricted.de/?a=commitdiff_plain;h=f7275dac55008f8296cfb89a01b1e71918ac7995;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 c0748511edbc..1235df70f34e 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)