]> git.ipfire.org Git - people/ms/u-boot.git/commit
net: rtl8169: Fix build error when DEBUG is on
authorBin Meng <bmeng.cn@gmail.com>
Fri, 18 Mar 2016 06:27:44 +0000 (23:27 -0700)
committerTom Rini <trini@konsulko.com>
Sun, 27 Mar 2016 13:12:25 +0000 (09:12 -0400)
commitdbe253861a61f7c9407fa52dc6ddd75667b00458
tree6fce7c2277c9553178ff02c0f6a961a75a2e933a
parent7863ce589105bdcae9c5c45a33458f0d40536b01
net: rtl8169: Fix build error when DEBUG is on

When DEBUG_RTL8169 is on, a build error occurs in function
'rtl_init': error: 'dev' undeclared. Fix this.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/rtl8169.c