From patchwork Tue Jun 7 06:23:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 16331 X-Patchwork-Delegate: mareklindner@neomailbox.ch 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 CDD6981C34; Tue, 7 Jun 2016 08:23:16 +0200 (CEST) Authentication-Results: open-mesh.org; dmarc=none header.from=narfation.org Authentication-Results: open-mesh.org; dkim=fail reason="verification failed; unprotected key" header.d=narfation.org header.i=@narfation.org header.b=etAI5X63; dkim-adsp=fail (unprotected policy); dkim-atps=neutral Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=79.140.41.39; helo=v3-1039.vlinux.de; envelope-from=sven@narfation.org; receiver=b.a.t.m.a.n@lists.open-mesh.org Authentication-Results: open-mesh.org; dmarc=pass header.from=narfation.org Received: from v3-1039.vlinux.de (narfation.org [79.140.41.39]) by open-mesh.org (Postfix) with ESMTPS id 8F57A81C15 for ; Tue, 7 Jun 2016 08:23:15 +0200 (CEST) Received: from sven-desktop.home.narfation.org (p200300C593C0D0FD0000000000002E16.dip0.t-ipconnect.de [IPv6:2003:c5:93c0:d0fd::2e16]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 061311100E8; Tue, 7 Jun 2016 08:23:14 +0200 (CEST) Authentication-Results: v3-1039.vlinux.de; dmarc=none header.from=narfation.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=narfation.org; s=20121; t=1465280595; bh=fYorgSTrWIwAaeLKPMUTWWyfnKzWu92qe+oqB8Z9pUw=; h=From:To:Cc:Subject:Date:From; b=etAI5X63735ZCynC470cn6ikoOzwMKWB+ZeMQCMbnYXYOBx2qfDYpOK6aTA0eeV08 mIPIzjNmTJPiJFNB9vRlDAF4VDT2Dl80tQ0v+GDDKTsiII6KYCkdo9k+GxF5ul4eK8 sZlPqtRz5f9Aa1QzjmCUN/Qf1V9aqU42WJCEn6n4= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Tue, 7 Jun 2016 08:23:07 +0200 Message-Id: <1465280591-3330-1-git-send-email-sven@narfation.org> X-Mailer: git-send-email 2.8.1 Subject: [B.A.T.M.A.N.] [PATCH v3 1/5] batman-adv: Define module rtnl link name X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.18 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 batman-adv module can automatically be loaded when operations over the rtnl link are triggered. This requires only the correct rtnl link name in the module header. Signed-off-by: Sven Eckelmann --- v3: - rebased on top of current master to fix conflicts with newest patches v2: - rebased on top of current master to fix conflicts with newest patches net/batman-adv/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index fe4c5e2..f61479b 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c @@ -638,3 +638,4 @@ MODULE_AUTHOR(BATADV_DRIVER_AUTHOR); MODULE_DESCRIPTION(BATADV_DRIVER_DESC); MODULE_SUPPORTED_DEVICE(BATADV_DRIVER_DEVICE); MODULE_VERSION(BATADV_SOURCE_VERSION); +MODULE_ALIAS_RTNL_LINK("batadv");