]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
SolutionEngine771x: fix Ether platform data
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 6 Jan 2018 18:53:26 +0000 (21:53 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jan 2018 17:21:14 +0000 (12:21 -0500)
commit195e2addbce09e5afbc766efc1e6567c9ce840d3
tree49b9417293589910951996f73898357a2e17fb62
parent2fdd18118dad86bf5e7880d8d02ea27be23e3671
SolutionEngine771x: fix Ether platform data

The 'sh_eth' driver's probe() method would fail  on the SolutionEngine7710
board and crash on SolutionEngine7712 board  as the platform code is
hopelessly behind the driver's platform data --  it passes the PHY address
instead of 'struct sh_eth_plat_data *'; pass the latter to the driver in
order to fix the bug...

Fixes: 71557a37adb5 ("[netdrvr] sh_eth: Add SH7619 support")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sh/boards/mach-se/770x/setup.c