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

Ben Dooks ben at simtec.co.uk
Wed Aug 4 10:11:15 EDT 2010


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>
> ---
>  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>




More information about the linux-arm-kernel mailing list