]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 4775/1: s3c2410: fix compilation error if only s3c2442 cpu is selected
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Sun, 27 Jan 2008 18:01:18 +0000 (19:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Jan 2008 13:20:50 +0000 (13:20 +0000)
This patch fixes compilation error if only a machine with
s3c2442 cpu is selected but without s3c2440 cpu selected.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-s3c2410/regs-dsc.h

index c0748511edbc848c7e16faa97b8bfa491025c6f7..1235df70f34edbb465cfef1dcdbedea47431002d 100644 (file)
@@ -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)