From: Ben Dooks Date: Tue, 7 Jun 2016 18:27:51 +0000 (+0100) Subject: net-sysfs: fix missing X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=88832a22d6bb50e3b5f9d5ecc6cf26707c35f322;p=linux-beck.git net-sysfs: fix missing The of_find_net_device_by_node() function is defined in but not included in the .c file that implements it. Fix the following warning by including the header: net/core/net-sysfs.c:1494:19: warning: symbol 'of_find_net_device_by_node' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: David S. Miller --- diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 2b3f76fe65f4..7a0b616557ab 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c @@ -24,6 +24,7 @@ #include #include #include +#include #include "net-sysfs.h"