Skip to content
Commit 824ab782 authored by Jisheng Zhang's avatar Jisheng Zhang Committed by David S. Miller
Browse files

net: pxa168_eth: move SET_NETDEV_DEV a bit earlier



This is to ensure the net_device's dev.parent is set before we used it
in dma_zalloc_coherent() from init_hash_table().

Signed-off-by: default avatarJisheng Zhang <jszhang@marvell.com>
Acked-by: default avatarAntoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c94f8f41
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment