Ben Gardiner <[email protected]> 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 <[email protected]>
> CC: Sergei Shtylyov <[email protected]>
> CC: Nori, Sekhar <[email protected]>
>
> ---
>
> 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
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source