From: Andreas Larsson Date: Fri, 15 Feb 2013 15:52:21 +0000 (+0100) Subject: spi/spi-fsl-spi: Make driver usable in CPU mode outside of an FSL_SOC environment X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~130^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8beacbb85a5c1de1117400c5ddb450514a8372c;p=pandora-kernel.git spi/spi-fsl-spi: Make driver usable in CPU mode outside of an FSL_SOC environment This makes the spi-fsl-spi driver usable in CPU mode outside of an FSL_SOC and even an powerpc environment by moving CPM mode functionality to a separate file that is only compiled and linked in an FSL_SOC environment and adding some ifdefs to hide types and functions or provide alternatives. For devicetree probing a "clock-frequency" property is used for clock frequency instead of calls to FSL_SOC-specific functions. Acked-by: Anton Vorontsov Signed-off-by: Andreas Larsson Signed-off-by: Grant Likely --- Reading git-diff-tree failed