From mboxrd@z Thu Jan 1 00:00:00 1970 From: sshtylyov@mvista.com (Sergei Shtylyov) Date: Mon, 30 Aug 2010 15:59:20 +0400 Subject: [PATCH 1/3] ARM: Samsung S5P: Move the common Samsung S5P series GPIO level type In-Reply-To: <20100830114708.GA13140@july> References: <20100830114708.GA13140@july> Message-ID: <4C7B9D18.7090500@ru.mvista.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hello. Kyungmin Park wrote: > From: Kyungmin Park > Samsung S5P series has common level type. It's different from S3C series. > Signed-off-by: Kyungmin Park [...] > diff --git a/arch/arm/plat-samsung/include/plat/gpio-core.h b/arch/arm/plat-samsung/include/plat/gpio-core.h > index e358c7d..c8681e0 100644 > --- a/arch/arm/plat-samsung/include/plat/gpio-core.h > +++ b/arch/arm/plat-samsung/include/plat/gpio-core.h > @@ -14,6 +14,12 @@ > #define GPIOCON_OFF (0x00) > #define GPIODAT_OFF (0x04) > > +#define S5P_GPIO_LEVEL_LOW (0x00) > +#define S5P_GPIO_LEVEL_HIGH (0x01) > +#define S5P_GPIO_EDGE_FALLING (0x02) > +#define S5P_GPIO_EDGE_RISING (0x03) > +#define S5P_GPIO_EDGE_BOTH (0x04) The parens are useless here. WBR, Sergei