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: NSean Anderson <seanga2@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Tested-by: NPatrick Delaunay <patrick.delaunay@st.com>
Showing
想要评论请 注册 或 登录