[PATCH 2/3] ARM: Samsung: Don't use the mach/gpio.h directly

Kukjin Kim kgene.kim at samsung.com
Wed Aug 4 18:33:49 EDT 2010


Ben Dooks wrote:
> 
> On 02/08/10 01:25, Kyungmin Park wrote:
> > Use the linux/gpio.h. also fix the build error since new C preprocessor
directives.
> >
> > Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> Acked-by: Ben Dooks <ben-linux at fluff.org>

Ok...will apply this into my tree.

> > ---
> >  arch/arm/plat-samsung/gpiolib.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/arch/arm/plat-samsung/gpiolib.c
b/arch/arm/plat-samsung/gpiolib.c
> > index 8a8ba8b..c354089 100644
> > --- a/arch/arm/plat-samsung/gpiolib.c
> > +++ b/arch/arm/plat-samsung/gpiolib.c
> > @@ -18,7 +18,7 @@
> >  #include <linux/kernel.h>
> >  #include <linux/irq.h>
> >  #include <linux/io.h>
> > -#include <mach/gpio.h>
> > +#include <linux/gpio.h>
> >  #include <plat/gpio-core.h>
> >  #include <plat/gpio-cfg.h>
> >  #include <plat/gpio-cfg-helpers.h>


Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.




More information about the linux-arm-kernel mailing list