Ben Gardiner <bengardi...@nanometrics.ca> writes:

> Change the mach-davinci Kconfig file so that GPIO_PCA953X is default when
> MACH_DAVINCI_DA850_EVM is set instead of always selecting. This allows users
> to compile pca953x as a module.
>
> Signed-off-by: Ben Gardiner <bengardi...@nanometrics.ca>
> CC: Sergei Shtylyov <sshtyl...@mvista.com>
> CC: Nori, Sekhar <nsek...@ti.com>
>
> ---
>
> Changes since V2:
>  * keep all Kconfig changes local to arch/arm/mach-davinci by exploting the
>    fact that attribute assigment to config entries can span multiple files.

This is a neat trick, I wasn't aware of this either.

[...]

> +config GPIO_PCA953X
> +     default y if MACH_DAVINCI_DA850_EVM
> +

the 'y' part is redundant.  You can just do:

        default MACH_DAVINCI_DA850_EVM


Kevin

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to