Subject: [PATCH] ARM: omap: kill NEED_MACH_GPIO_H

From: [email-masked] (Tony Lindgren)
Date: Mon, 3 Dec 2012 17:41:15 -0800

* Linus Walleij <[email-masked]> [121203 15:52]:
> This does not appear to be used by the OMAP.

Thanks, I already have a smilar patch already queued in
linux next as 873e6980 (ARM: OMAP: Remove NEED_MACH_GPIO_H).

Regards,

Tony
 
> Signed-off-by: Linus Walleij <[email-masked]>
> ---
>  arch/arm/Kconfig                        | 1 -
>  arch/arm/mach-omap1/include/mach/gpio.h | 3 ---
>  arch/arm/mach-omap2/include/mach/gpio.h | 3 ---
>  3 files changed, 7 deletions(-)
>  delete mode 100644 arch/arm/mach-omap1/include/mach/gpio.h
>  delete mode 100644 arch/arm/mach-omap2/include/mach/gpio.h
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index f456cf4..12deaec 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -938,7 +938,6 @@ config ARCH_OMAP
>  	select CLKSRC_MMIO
>  	select GENERIC_CLOCKEVENTS
>  	select HAVE_CLK
> -	select NEED_MACH_GPIO_H
>  	help
>  	  Support for TI's OMAP platform (OMAP1/2/3/4).
>  
> diff --git a/arch/arm/mach-omap1/include/mach/gpio.h b/arch/arm/mach-omap1/include/mach/gpio.h
> deleted file mode 100644
> index ebf86c0..0000000
> --- a/arch/arm/mach-omap1/include/mach/gpio.h
> +++ /dev/null
> @@ -1,3 +0,0 @@
> -/*
> - * arch/arm/mach-omap1/include/mach/gpio.h
> - */
> diff --git a/arch/arm/mach-omap2/include/mach/gpio.h b/arch/arm/mach-omap2/include/mach/gpio.h
> deleted file mode 100644
> index 5621cc5..0000000
> --- a/arch/arm/mach-omap2/include/mach/gpio.h
> +++ /dev/null
> @@ -1,3 +0,0 @@
> -/*
> - * arch/arm/mach-omap2/include/mach/gpio.h
> - */
> -- 
> 1.7.11.7
>