Message ID | 20230616122218.1036256-1-juerg.haefliger@canonical.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1316256vqr; Fri, 16 Jun 2023 05:49:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7VPtN9EyXxT+3s6kjmoHpXauZ5cuCKGjMpiHpjG142QF2AK3GH10oZLLUYdRREusJn6KQz X-Received: by 2002:a05:6a20:158d:b0:118:e011:5e44 with SMTP id h13-20020a056a20158d00b00118e0115e44mr2573443pzj.48.1686919778237; Fri, 16 Jun 2023 05:49:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686919778; cv=none; d=google.com; s=arc-20160816; b=PfTu1pKHCou8mncDK3aGR4+AHdxlrXwKn32rWFNCi1d62XRqIsiIdSzrod9N/E1l2o GWWMnw3OGJ/eArryrNzdqjFkkZmvvRy28+2rVugIPcPjccp6i0ISaUPPunZBvlKpmdNx CDITD2KIxHGPqEinnU41iTHYOLHpAUvMkHB3WD4biiuUkGwFzFWj1cUEfq1Qk8MFcSKl 9XzHQ6+e6+Vdv0vUzlOb4/HDOCCQYvyhAnAg49NqeSh1WdJJyvc1DNWAflnAMkORmvIh R/U6Q91rHpBvSuxU3E3+96yzMx4pfnf9HySLcMEIIhnYKcUExpn5D2cGoZPCD4IR2wYC EQ5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=zw1VmnyGgP9Z0XT+cVN9mnOntivZi1r272LyKdlNy7g=; b=WZuXFJHUtVK563qaEqBDc9T+Ug21VnlmTRmTQvCUzmltdhGHgyDIGi33HXAEsGlrxy F1jMq+fPVrgoCm1sNvCQ6FgLNXa4t57oappP9EC/nsKZC8IR/5fE5OAGFD2jRV52tPqW sM5doL3ViHTAT5R3zNQkEunQoburKK5hzYys1EHAWtSaQ5jONQAGAqy9cGAOE/6LOlTG SCyCqBVlqrT2uwch9smCHZO/yWgd4WIOAteebtBP3lcfNsSpX3lewdm5Xso5ACM1GYjm k70q3D7xAyxKD61BU/6FFbcZ1l1roOvVr+w2bjt0Rf0m6wdzxr1GRibqh8gSGAIINTQD kl+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=RIJNmJNT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b12-20020a170902d50c00b001b23d721059si9457073plg.317.2023.06.16.05.49.23; Fri, 16 Jun 2023 05:49:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=RIJNmJNT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344270AbjFPMWZ (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Fri, 16 Jun 2023 08:22:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230494AbjFPMWX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 16 Jun 2023 08:22:23 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D516B30DE for <linux-kernel@vger.kernel.org>; Fri, 16 Jun 2023 05:22:22 -0700 (PDT) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 9F63F3F16F for <linux-kernel@vger.kernel.org>; Fri, 16 Jun 2023 12:22:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686918141; bh=zw1VmnyGgP9Z0XT+cVN9mnOntivZi1r272LyKdlNy7g=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=RIJNmJNTJGsGBEUUh6kft2PO2UUoeSN+hEuO41fYKU9WR2SLgTviKxk95QvwDFzCw ooIUmY6BhQLcAR9ySnoI1iBGgfwgj82oNBrqMq70UadcJz06nq+t4NCTvBsaQxWXRX 4FuE7WUmu6pCz6sGZpR2+WufYIbTxlFXKq6dlrsCWWZ9u8TIPhS/LY9uRQMSg8o0dl 7bVHs/Z+o2OYFs4e0SWDbOdIFsMyImdUfjLKv5hTpQ1+QkySK7Mkx+qxyyMUy3eA7i q58OAQX7tbR8NAiiRsR11ov//bTuwl3M+50KzoQCGn9GMlkQ2Jhy4wjqUJFVL/Sn2b StQKy1QFHAc5Q== Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-3f8dde5535dso2541635e9.0 for <linux-kernel@vger.kernel.org>; Fri, 16 Jun 2023 05:22:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686918141; x=1689510141; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zw1VmnyGgP9Z0XT+cVN9mnOntivZi1r272LyKdlNy7g=; b=gnUqGa/3JMR8sZlrqUvs7IdZMpk7gvy2JK2LbP7lpBAkse3ABHIPMXqvIvDzDJjtdK 5LbJM0GPzfZABsqKWgkKWp7M0WQE8c545/cjfc5JIgt/60KF6bJBEtGZ7+NpV7FygRuw zrBijwgLISdCNwrxrcwq6tXTsa+DlFdtR7gvQKODe3ud7OiQiZkMS1dQbqmQptdk0Wcs 4hG5maR1oFdTd1iAy6Ks8DacaUYreY5gVSMmdxsdA4k8HKy9HNSpj/l+xiZXtoz5c+w4 xmXp/Y5isQua53sjovTUF/XgrlW3OF0iQ1GNFKq8aRWvKrmEsMftg7/r+uQmsvkiVtCz GQtA== X-Gm-Message-State: AC+VfDwbVrkjiD1HPfEap9zk8ka6x89dQisjnenazfHazJ5PC9ZH9aOD 63/lIBKRcpRU2n6cLx6rGBeV/9cyF+pNVOR3XGJAWNQGsfPN+4izZ9F8tYW5+04QrKvYbzTuDug M9Tj7Kvcgm9cvsjlp5XcbGtnPRLnbGvr5YuhK45GUkA== X-Received: by 2002:a05:600c:2189:b0:3f6:7e6:44ea with SMTP id e9-20020a05600c218900b003f607e644eamr1430104wme.18.1686918141173; Fri, 16 Jun 2023 05:22:21 -0700 (PDT) X-Received: by 2002:a05:600c:2189:b0:3f6:7e6:44ea with SMTP id e9-20020a05600c218900b003f607e644eamr1430100wme.18.1686918140883; Fri, 16 Jun 2023 05:22:20 -0700 (PDT) Received: from localhost ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id i1-20020adff301000000b002f28de9f73bsm23571315wro.55.2023.06.16.05.22.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 05:22:20 -0700 (PDT) From: Juerg Haefliger <juerg.haefliger@canonical.com> To: krzysztof.kozlowski@linaro.org, netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, davem@davemloft.net, shangxiaojing@huawei.com, juerg.haefliger@canonical.com Subject: [PATCH] nfc: fdp: Add MODULE_FIRMWARE macros Date: Fri, 16 Jun 2023 14:22:18 +0200 Message-Id: <20230616122218.1036256-1-juerg.haefliger@canonical.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768863593175652880?= X-GMAIL-MSGID: =?utf-8?q?1768863593175652880?= |
Series |
nfc: fdp: Add MODULE_FIRMWARE macros
|
|
Commit Message
Juerg Haefliger
June 16, 2023, 12:22 p.m. UTC
The module loads firmware so add MODULE_FIRMWARE macros to provide that
information via modinfo.
Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
drivers/nfc/fdp/fdp.c | 3 +++
1 file changed, 3 insertions(+)
Comments
On 16/06/2023 14:22, Juerg Haefliger wrote: > The module loads firmware so add MODULE_FIRMWARE macros to provide that > information via modinfo. > > Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> > --- > drivers/nfc/fdp/fdp.c | 3 +++ Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
Hello: This patch was applied to netdev/net.git (main) by David S. Miller <davem@davemloft.net>: On Fri, 16 Jun 2023 14:22:18 +0200 you wrote: > The module loads firmware so add MODULE_FIRMWARE macros to provide that > information via modinfo. > > Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> > --- > drivers/nfc/fdp/fdp.c | 3 +++ > 1 file changed, 3 insertions(+) Here is the summary with links: - nfc: fdp: Add MODULE_FIRMWARE macros https://git.kernel.org/netdev/net/c/eb09fc2d1416 You are awesome, thank you!
diff --git a/drivers/nfc/fdp/fdp.c b/drivers/nfc/fdp/fdp.c index f12f903a9dd1..da3e2dce8e70 100644 --- a/drivers/nfc/fdp/fdp.c +++ b/drivers/nfc/fdp/fdp.c @@ -762,3 +762,6 @@ EXPORT_SYMBOL(fdp_nci_remove); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("NFC NCI driver for Intel Fields Peak NFC controller"); MODULE_AUTHOR("Robert Dolca <robert.dolca@intel.com>"); + +MODULE_FIRMWARE(FDP_OTP_PATCH_NAME); +MODULE_FIRMWARE(FDP_RAM_PATCH_NAME);