]> git.baikalelectronics.ru Git - uboot.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)
commit515eacfa1586ba7f718c034e30cd3e28882cac6c
tree9f9c5482681fc278f31aefabbeb828edf45da7c4
parentb6909b60b11504f8619cf7d2db2859cc7a06c9ea
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