[PATCH 3/5] gpio: omap: add a GPIO_OMAP option instead of using ARCH_OMAP

Santosh Shilimkar santosh.shilimkar at ti.com
Thu Apr 10 10:37:15 PDT 2014


On Sunday 06 April 2014 10:58 AM, Javier Martinez Canillas wrote:
> The ARCH_OMAP config option was used to built the GPIO OMAP
> driver but this is not consistent with the rest of the GPIO
> drivers that have their own Kconfig option.
> 
> Also, this make it harder to add dependencies or reverse
> dependencies (i.e: select) since that would mean touching the
> sub-arch config option.
> 
> So is better to add a boolean Kconfig option for this driver
> that defaults to true if ARCH_OMAP is enabled.
> 
> Signed-off-by: Javier Martinez Canillas <javier.martinez at collabora.co.uk>
> ---
Acked-by: Santosh Shilimkar <santosh.shilimkar at ti.com>





More information about the linux-arm-kernel mailing list