summaryrefslogtreecommitdiff
path: root/sound/soc/davinci
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/davinci')
0 files changed, 0 insertions, 0 deletions
clite-cleanup'>emaclite-cleanup
There's only a few places left where the net_device back-pointer from struct net_local is used, so we can reduce the private struct size by removing it. Remove it entirely by using the net_device already passed to the function in question and by storing the net_device pointer instead of the net_local pointer in mii_bus->priv. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat
-rw-r--r--drivers/net/ethernet/xilinx/xilinx_emaclite.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c