]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: fix netconsole when CONFIG_DM_ETH is set
authorBernhard Nortmann <bernhard.nortmann@web.de>
Mon, 14 Sep 2015 13:29:44 +0000 (15:29 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 30 Sep 2015 02:54:45 +0000 (21:54 -0500)
commitc163e4367908ea625ca962ca6312fc88790b5242
tree5c1a373c943ef62c88931f7694cdc019ef994688
parenteaa8a195cc2372349276bf7d581a9e1e2cc83511
net: fix netconsole when CONFIG_DM_ETH is set

This patch uses the eth_is_active() function to work around
issues that prevented compilation with the newer driver model.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/netconsole.c