From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Dooks Subject: [PATCH] net-sysfs: fix missing Date: Tue, 7 Jun 2016 19:27:51 +0100 Message-ID: <1465324071-7337-1-git-send-email-ben.dooks@codethink.co.uk> Cc: Ben Dooks , "David S. Miller" , netdev@vger.kernel.org To: linux-kernel@lists.codethink.co.uk Return-path: Received: from 82-70-136-246.dsl.in-addr.zen.co.uk ([82.70.136.246]:37798 "EHLO rainbowdash.ducie.codethink.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751946AbcFGS2E (ORCPT ); Tue, 7 Jun 2016 14:28:04 -0400 Sender: netdev-owner@vger.kernel.org List-ID: 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 --- Cc: "David S. Miller" Cc: netdev@vger.kernel.org --- net/core/net-sysfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 2b3f76f..7a0b616 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" -- 2.8.1