[ARM] 3806/2: S3C2412: Fix GPIO VA when only S3C2412 selected
authorBen Dooks <ben-linux@fluff.org>
Mon, 18 Sep 2006 09:19:06 +0000 (10:19 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 25 Sep 2006 09:25:30 +0000 (10:25 +0100)
commit50dedf168c1afd23cbc6c4fd8429c9e931b4e813
treef2c184606f5ee0d8efe108cf5732b19ab8976d10
parent0033a2f0d028400ad04588efbd5740c73f0eb740
[ARM] 3806/2: S3C2412: Fix GPIO VA when only S3C2412 selected

The s3c24xx_va_gpio2 variable is only used
when the S3C2412 and another cpu-type is
being used in the kernel. This patch ensures
it is not set when it is not being used.

Fixes bug report by Thomas Gleixner.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/s3c2412.c