From: Thomas Petazzoni Date: Mon, 29 Oct 2012 15:27:34 +0000 (+0100) Subject: dma: mv_xor: do not use pool_size from platform_data within the driver X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~12^2~1^2~6^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09f2b7864ce37483f4c4ecb30b0eed599f475035;p=pandora-kernel.git dma: mv_xor: do not use pool_size from platform_data within the driver The driver currently pokes into the platform_data structure during its normal operation to get the pool_size value. Poking into the platform_data structure is not nice when moving to the Device Tree, so this commit adds a new pool_size field in the mv_xor_device structure, which gets initialized at ->probe() time. The driver then uses this field instead of the platform_data. Signed-off-by: Thomas Petazzoni --- Reading git-diff-tree failed