From patchwork Tue Apr 17 12:03:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dechesne X-Patchwork-Id: 133541 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp4635101ljb; Tue, 17 Apr 2018 05:07:10 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/mRf+hqTi1shpFpMIo3ZLNg1KERPe5WofyvGOEsIsZEs1rlqquElMkhKIY2+8z8tgIqagz X-Received: by 10.98.12.202 with SMTP id 71mr1691323pfm.61.1523966830569; Tue, 17 Apr 2018 05:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523966830; cv=none; d=google.com; s=arc-20160816; b=ZSJxZxHRPTAarWanEBVe9OXxhhWrxZ6LWrFF1GFzCEddjaMmR7jpjLEJe24i0Y2Ly7 I/4heuGr+NLrRffRTgnbPk0vZfjz0Y96DwBmKRkb5fmnRQcW6EkGVvsJ7qXNR+L+JXxd qsa+YAJaEdrXBLfjZCkumDhm4su5uRoi399C9aETyO7h2ayNi589javrL5P6b5r+C845 EUAjRFcZzYl915mTJ6zrsfe0JaX4ihUtNsF4mRiv1PFZajLZ/quD0r5DEE7ogOH0GKaP 10kRMc8nDRW4dXOCyoPsMEDmvfgnw8rbJu8tEIjimv8Lx0gdU2iTh+0CrqzxnVIpFBw2 4rtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=mJ5jyO/DxmZc743PmXOCWWS5Hzas9SkpqG2gYT5B23M=; b=Qu0Hy6XVyHxiaRoq0OB4P8Dp6w2qdAzpPYEdIJMWcf78Dp17Gi1Nbmn79peXFkyTBE VPFDTyOFxGI3CG+vP0iGNGRze733zNngpRx99EwlDUzfOA5405r/+bUdjzACbhPKvENF 3LOfuuGOvGoLNwwC2KY7iXMfGSUqo3QqmwPxMNOjoltQmgjlXpOz0tp2rrOA5A6iygpR 9Wj48iDRJNBIXrSGif5qHI/RJzQfuhc/jFS5DLCs67/hNOWQZTHILz/nF0A/PYoYwBDE rtaT2C0gBj7HUBuLH0/jzqXsaVfm0LuDW5zPiGilwnSndLGHu1s8g37I5VThvXWpZgCb u50g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OtcvB33Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id az8-v6si73212plb.153.2018.04.17.05.06.47; Tue, 17 Apr 2018 05:07:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OtcvB33Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753128AbeDQMGp (ORCPT + 29 others); Tue, 17 Apr 2018 08:06:45 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:46190 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752546AbeDQMGo (ORCPT ); Tue, 17 Apr 2018 08:06:44 -0400 Received: by mail-wr0-f195.google.com with SMTP id d1so34801379wrj.13 for ; Tue, 17 Apr 2018 05:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=mJ5jyO/DxmZc743PmXOCWWS5Hzas9SkpqG2gYT5B23M=; b=OtcvB33QuaC5pqrIhBrSD2/kRCBI5kf8h0/7gBVONh/pKzJ3sPa+KJmIEL8zvvZHhe PeHICLbO7LD9/optAxPmD9ehQyiUxTxj21ZwljnAyjJSFwJaB0G/CTe5ykDR8+rJB9K4 KPl6s5/dEaN0mTMx95ge4EDjc2lrmMG5af/ns= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=mJ5jyO/DxmZc743PmXOCWWS5Hzas9SkpqG2gYT5B23M=; b=i/3/i+EcTWszaR9QYM2FXDTkA1Dt0ZafqZ52QlkvSA5JhBOU7T2A4fSiM7GOMu5Kwi +rL2gKhvdgvFi7FxqlnpdaRLKt4ETKPxQSMIHuqJuQGMCdM53DBOJGZ0F4K0guuLF6Sw Kwcl3sAmgbim5415v23SYS7UQtLDVkfzSKy2ayYsjfXcfgCPWa8mqN5MoV2CvjzwBzrl fMP/sTa+L05o9QHFRS2zCHDdn04BX2SOz9w80m11CXdD0PWmUrRn4d/T3urn8TFmzriU Ae+9lENeU3cBQblpJyWH9/IP/ROG5GGQ7ZluyK+Tdo0228qHlrgZFgvN7lqQ8HfJO7lB 4IDg== X-Gm-Message-State: ALQs6tCSiT5YFKp0sSPc5BmUfDwltmAztSedS1BvOOll3kJ7AFW0dI0A eqy7aEJV9Kbu31pzJU2A4PmVpg== X-Received: by 10.28.234.12 with SMTP id i12mr853895wmh.161.1523966802989; Tue, 17 Apr 2018 05:06:42 -0700 (PDT) Received: from localhost.localdomain (static.8.26.4.46.clients.your-server.de. [46.4.26.8]) by smtp.gmail.com with ESMTPSA id i44sm13852156wri.17.2018.04.17.05.06.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Apr 2018 05:06:41 -0700 (PDT) From: Nicolas Dechesne To: davem@davemloft.net, bjorn.andersson@linaro.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Dechesne Subject: [PATCH] net: qrtr: add MODULE_ALIAS_NETPROTO macro Date: Tue, 17 Apr 2018 14:03:26 +0200 Message-Id: <20180417120326.11022-1-nicolas.dechesne@linaro.org> X-Mailer: git-send-email 2.14.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To ensure that qrtr can be loaded automatically, when needed, if it is compiled as module. Signed-off-by: Nicolas Dechesne --- net/qrtr/qrtr.c | 1 + 1 file changed, 1 insertion(+) -- 2.14.2 diff --git a/net/qrtr/qrtr.c b/net/qrtr/qrtr.c index b33e5aeb4c06..2aa07b547b16 100644 --- a/net/qrtr/qrtr.c +++ b/net/qrtr/qrtr.c @@ -1135,3 +1135,4 @@ module_exit(qrtr_proto_fini); MODULE_DESCRIPTION("Qualcomm IPC-router driver"); MODULE_LICENSE("GPL v2"); +MODULE_ALIAS_NETPROTO(PF_QIPCRTR);