From: Sergei Shtylyov Date: Sat, 17 Aug 2013 23:11:28 +0000 (+0400) Subject: sh_eth: get register layout from 'struct sh_eth_cpu_data' X-Git-Tag: v3.12-rc1~132^2~247 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3153d8c41132d6fda080a4b3e53b7ee25d3c125;p=pandora-kernel.git sh_eth: get register layout from 'struct sh_eth_cpu_data' The register layout is a SoC characteristic, so it's wrong that it's stored in the otherwise board specific platform data. Add 'register_type' field to 'struct sh_eth_cpu_data', initialize it properly for each SoC, and read it from this structure instead of the platfrom data from now on... Signed-off-by: Sergei Shtylyov Signed-off-by: David S. Miller --- Reading git-diff-tree failed