From: Uwe Kleine-König Date: Tue, 14 Jul 2015 09:19:56 +0000 (+0200) Subject: spi: mpc512x-psc: add support for Freescale MPC5125 X-Git-Tag: omap-for-v4.3/fixes-merge-window~33^2~3^5~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bf960985dfc;p=pandora-kernel.git spi: mpc512x-psc: add support for Freescale MPC5125 The register layout of the PSC devices differ between MPC5121 and MPC5125, but the registers are named nearly identical and their purpose is similar enough ("freescale identical") such that substituting mpc52xx_psc by mpc5125_psc is nearly enough to make the driver work on MPC5125. To keep supporting MPC5121 this patch introduces a cpp macro to select the right struct that defines the register layout. Signed-off-by: Uwe Kleine-König Signed-off-by: Mark Brown --- Reading git-diff-tree failed