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

Kyungmin Park kyungmin.park at samsung.com
Tue Aug 3 01:30:59 EDT 2010


On Tue, Aug 3, 2010 at 2:09 PM, Kukjin Kim <kgene.kim at samsung.com> wrote:
> Kyungmin Park wrote:
>>
>> Use the linux/gpio.h. also fix the build error since new C preprocessor
> directives.
>
> Cc'ed Ben Dooks.
>>
>> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
>> ---
>>  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>
>
> Only here?
No a lots of places.

>
> If required, should be fixed all.
> And...as I said, then I will fix...

No problem.

>
>>  #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.
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>



More information about the linux-arm-kernel mailing list