[PATCH 2/2] s3c2410/gpio-nr.h: fix S3C_GPIO_SPACE #error message to match reality
Peter Korsgaard
jacmet at sunsite.dk
Sun Sep 4 18:30:23 EDT 2011
S3C_GPIO_SPACE cannont be NON-zero, not zero.
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
arch/arm/mach-s3c2410/include/mach/gpio-nrs.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-s3c2410/include/mach/gpio-nrs.h b/arch/arm/mach-s3c2410/include/mach/gpio-nrs.h
index 4f7bf32..019ea86 100644
--- a/arch/arm/mach-s3c2410/include/mach/gpio-nrs.h
+++ b/arch/arm/mach-s3c2410/include/mach/gpio-nrs.h
@@ -53,7 +53,7 @@
#define S3C2410_GPIO_M_NR (32) /* technically 2. */
#if CONFIG_S3C_GPIO_SPACE != 0
-#error CONFIG_S3C_GPIO_SPACE cannot be zero at the moment
+#error CONFIG_S3C_GPIO_SPACE cannot be nonzero at the moment
#endif
#define S3C2410_GPIO_NEXT(__gpio) \
--
1.7.5.4
More information about the linux-arm-kernel
mailing list