]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: sun8i_emac: Fix not calling dev_xxx with a device
authorSean Anderson <seanga2@gmail.com>
Tue, 15 Sep 2020 14:45:00 +0000 (10:45 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 12:53:24 +0000 (08:53 -0400)
commitef043693c6b8ffbf0d17caac5c99855cfaeaef3c
tree9f9c5482681fc278f31aefabbeb828edf45da7c4
parente2f74215227e971491bce6860771fd2736b4cfc8
net: sun8i_emac: Fix not calling dev_xxx with a device

Pass a udevice into a few functions so `dev` is defined.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/net/sun8i_emac.c