summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSergei Shtylyov2013-06-07 15:54:02 +0200
committerDavid S. Miller2013-06-08 08:38:23 +0200
commitafe391ad4b05f8f00ca955e165f3b37b480506b7 (patch)
tree24633fb5a0f36802af40581a23b5efc29369bfab /arch
parentdoc:networking: Fix default value (icmp_ignore_bogus_error_responses). (diff)
downloadkernel-qcow2-linux-afe391ad4b05f8f00ca955e165f3b37b480506b7.tar.gz
kernel-qcow2-linux-afe391ad4b05f8f00ca955e165f3b37b480506b7.tar.xz
kernel-qcow2-linux-afe391ad4b05f8f00ca955e165f3b37b480506b7.zip
sh_eth: create initial ID table
We are trying to get away from the current driver's scheme of identifying a SoC based on #ifdef's and the platform device ID table matching seems to be a good replacement -- we can use the 'driver_data' field of 'struct platform_device_id' as a pointer to a 'struct sh_eth_cpu_data'. Start by creating the initial table with driver's name as the only entry without the driver data. Check the driver data in the probe() method and if it's not NULL override 'mdp->cd' from it. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions