Skip to content

Commit

Permalink
[ARM] 4775/1: s3c2410: fix compilation error if only s3c2442 cpu is s…
Browse files Browse the repository at this point in the history
…elected

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>
  • Loading branch information
Krzysztof Helt authored and Russell King committed Jan 28, 2008
1 parent 3323495 commit f7275da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-arm/arch-s3c2410/regs-dsc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f7275da

Please sign in to comment.