From: Gregory CLEMENT Date: Mon, 1 Oct 2012 09:56:42 +0000 (+0100) Subject: ARM: 7545/1: cache-l2x0: make outer_cache_fns a field of l2x0_of_data X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~53^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6248d0602f9932a437070dda598b7973b8770384;p=pandora-kernel.git ARM: 7545/1: cache-l2x0: make outer_cache_fns a field of l2x0_of_data Instead of having multiple functions belonging to outer_cache and filling this structure on the fly, use a outer_cache_fns field inside l2x0_of_data and just memcopy it into outer_cache depending of the type of the l2x0 cache. For non DT case, the former code was kept. [rmk: fixed a style issue] Tested-and-Reviewed-by: Yehuda Yitschak Tested-and-Reviewed-by: Lior Amsalem Signed-off-by: Gregory CLEMENT Signed-off-by: Russell King --- Reading git-diff-tree failed