From patchwork Sun Nov 19 16:12:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 17136 X-Patchwork-Delegate: sven@narfation.org Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from open-mesh.org (localhost [IPv6:::1]) by open-mesh.org (Postfix) with ESMTP id B66D982B24; Sun, 19 Nov 2017 17:13:11 +0100 (CET) Authentication-Results: open-mesh.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=narfation.org header.i=@narfation.org header.b="ch8iJGXZ"; dkim-atps=neutral Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:4d88:2000:7::2; helo=v3-1039.vlinux.de; envelope-from=sven@narfation.org; receiver= Received: from v3-1039.vlinux.de (narfation.org [IPv6:2001:4d88:2000:7::2]) by open-mesh.org (Postfix) with ESMTPS id 5528E8041B for ; Sun, 19 Nov 2017 17:12:27 +0100 (CET) Received: from sven-desktop.home.narfation.org (p200300C593EBC3FD792CD3ECD963554B.dip0.t-ipconnect.de [IPv6:2003:c5:93eb:c3fd:792c:d3ec:d963:554b]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id F14CC1100E8; Sun, 19 Nov 2017 17:12:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=narfation.org; s=20121; t=1511107947; bh=Fyd06mjHwoqQ8boLiRwRIsKWSC34lp+m6JBi/P+HqzU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ch8iJGXZ9wgzi8eT5DBavNDm696OWh1jrpSnsgr/3GaPRZ6elQeJu7jVwyL1A6i7r gFpICEEXIourc2yt7MOYYI5X/HKOkNLxXPVj2EM8I6b6RjWfocEXnvCl7I/knciUC/ xebw+wcykXsvQorUhuh9wAkciLMxrlSq9n47p5RM= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Sun, 19 Nov 2017 17:12:05 +0100 Message-Id: <20171119161207.32588-5-sven@narfation.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171119161207.32588-1-sven@narfation.org> References: <20171119161207.32588-1-sven@narfation.org> Subject: [B.A.T.M.A.N.] [PATCH 4/6] batman-adv: include kobject.h for kobject_* functions X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking Errors-To: b.a.t.m.a.n-bounces@lists.open-mesh.org Sender: "B.A.T.M.A.N" The linux/kobject.h provides the kobject_* function declarations and should therefore be included directly before they are used. Signed-off-by: Sven Eckelmann --- net/batman-adv/sysfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/batman-adv/sysfs.c b/net/batman-adv/sysfs.c index 5c29e38a..9eed0664 100644 --- a/net/batman-adv/sysfs.c +++ b/net/batman-adv/sysfs.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include