[PATCH] spi: mpc512x-psc: add support for Freescale MPC5125

Mark Brown broonie at kernel.org
Tue Jul 14 19:54:42 AEST 2015


On Tue, Jul 14, 2015 at 11:19:56AM +0200, Uwe Kleine-König wrote:

>  static const struct of_device_id mpc512x_psc_spi_of_match[] = {
> -	{ .compatible = "fsl,mpc5121-psc-spi", },
> +	{ .compatible = "fsl,mpc5121-psc-spi", .data = (void *)TYPE_MPC5121 },
> +	{ .compatible = "fsl,mpc5125-psc-spi", .data = (void *)TYPE_MPC5125 },
>  	{},

The code seems fine but this should update the binding document to
include the new compatible string.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20150714/482d71dd/attachment.sig>


More information about the Linuxppc-dev mailing list