[PATCH 2/3] ARM: Samsung: Don't use the mach/gpio.h directly
Kukjin Kim
kgene.kim at samsung.com
Tue Aug 3 01:09:16 EDT 2010
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?
If required, should be fixed all.
And...as I said, then I will fix...
> #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