commit | a3153d8c41132d6fda080a4b3e53b7ee25d3c125 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Sun Aug 18 03:11:28 2013 +0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 20 17:10:41 2013 -0700 |
tree | b0ae37ec2fc93480fb0aad7e65d435a7e83fa5ab | |
parent | bd61224b1cbec096694e89c4187119c8576fe186 [diff] |
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 <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>