From patchwork Fri Jun 16 12:20:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 109100 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1311101vqr; Fri, 16 Jun 2023 05:40:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Tm1NHL/63rFIqJxKD+cxra3qWU5F7/Fhf+aePybtq53opP3xM/q00xetszd18jgEvKgPP X-Received: by 2002:a92:d781:0:b0:340:4e87:9947 with SMTP id d1-20020a92d781000000b003404e879947mr2480652iln.9.1686919203130; Fri, 16 Jun 2023 05:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686919203; cv=none; d=google.com; s=arc-20160816; b=utmoiI1+nWB6KETPe4vi2fbJqv71FGzw2j6Rnmb31ewMMQlglI267s2Y2QCYxsFbu/ 0KG1Stn10s0KIP8f8nSgQv0Bzg8VBa/qhj2aAnQIb/iKYuL4H6Vx23fYD4KRERenLMZ3 oukUR9ktz84WbhsCG7J5hhCzaTNLtN+E7gP9sjLp7iu27cNNUNC22hrwrNzC1D7lAfhD nN7WWNNu36ipuwl/277iaZGCQd89kikcKo9CFiag0bM6xySH2gFtUgaE+FbQf+IoUNhq rs0o0R6bIlq6N5mutbvgQOhtrdtR1oS2H6hFY1fEqADhGDrK+EQO1zBHOy9sVBXnZtLx 3nmw== 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=cVfb5EujAP+BjjN+ylN+9xCg5MYHg4RgqoLucWwVyAo=; b=OWv5wY04EBDe7bsvfj00VBye/6A13fG/2HGz/q3h/4zPTW6YuzIo37KziAoa1g1dyO kqC3RI+B+qb5bGjdylixVFlVsqn23MiRzEfneFtXZJJHeNOCAwELLW+0DM8Y52IKOBub duUYK7gKFAkttoxFU+isjLbR6e5nmsMn0xd6pm5e2j/2q3RyEl8iovfpBYwGdExpZ1HV rh5L8HwJRSMpKIWJ7SO9lHF1mB2sjmb4Coc5G2ij52NU46V/Ctt81p5qwK5PyTo7gi4V nrbl6xw3vKrPynqO8d/nJ0P/Mo/VzgEjNuCqLuS1iWcdAXbxL9Rqh7waXwFxbU+wFd1J hjng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=rwiOKoW5; 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 i10-20020a639d0a000000b005440e9ee0b2si11534563pgd.569.2023.06.16.05.39.50; Fri, 16 Jun 2023 05:40:03 -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=rwiOKoW5; 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 S1344052AbjFPMUr (ORCPT + 99 others); Fri, 16 Jun 2023 08:20:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234497AbjFPMUp (ORCPT ); Fri, 16 Jun 2023 08:20:45 -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 5095710EC for ; Fri, 16 Jun 2023 05:20:44 -0700 (PDT) Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (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 EB0043F120 for ; Fri, 16 Jun 2023 12:20:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686918042; bh=cVfb5EujAP+BjjN+ylN+9xCg5MYHg4RgqoLucWwVyAo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=rwiOKoW5DkiZdjhFuVVpJk9sSqd+VYu2W7TwvvJJAWnVTPuiGYUomsyw/OARu9hjz y9HiyZMDUdU53EevL+IxHMkk50ZSnE3jgSgOl1NNOoY3BB0rIRBC+85wggHGeyvSJ8 2C3HoifCyfHHhcmyYOq68yWXkteSg92OrB4OA3SAqiYZdk6P+5gfFXijTvdWOeyOxz 7Ru005+FwVWMS6NBD2zNO1ToHPyZIW6raxnlAUzyIMF9a2LluRua5sat5uyrvooDRZ YUyXf0c2GzglRhmLSWgxsSGliIhuDe0go5zf6hFWM9VrU7qymK0zhOgDO3R6UipCIB wSgXxSSG6fPrg== Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-3f8fa2ef407so1494245e9.1 for ; Fri, 16 Jun 2023 05:20:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686918042; x=1689510042; 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=cVfb5EujAP+BjjN+ylN+9xCg5MYHg4RgqoLucWwVyAo=; b=LZEfbpG1EKK2tKmDzTjYulN2sEoFhQrOjjvSVoPZlqZzNAcnJoniR+CjD3JY+eXQVx 6qkUeWltNQPfVXEWEojsK75iMA0AoAt6IoUDl3OX9y/TnZvfeWjPI03tCqbvVomWPJsu SyOEjgzt+mZThrJtj3Rhh/qFQQtLCjjKDGwejt0NaaSiGGXXTED1YqkuxTSpAqYNlwv2 sANpOUEhQJlRAi2amYlU+W1YOlqENRoqEBjw22gsXTQnkDXemo9HGLwZv2fK1iBjaeYC BVTFUm193zirBi9M6T75JBZMt0vbPQsVrMu6cKhPmta46S3hLniei59aWxF0GYN9Ns45 Z1yA== X-Gm-Message-State: AC+VfDzCqwcs6LDNtPTtD3h3vvcJhRv1a0yfYAqW/xJ+MlwcqnZPm6xB JiOa2wmlzd8lomRP7YTifSvmpXqMutR703E6x7v1+hFziZbkIBUEZhYLE7L4XaJpYLdmCLtGxit FKCFyEc3B14jD4kaRZnM3cUuXOfiqsu0A21eEeHM1Jg== X-Received: by 2002:adf:f30f:0:b0:309:3a1e:fc54 with SMTP id i15-20020adff30f000000b003093a1efc54mr986689wro.7.1686918042718; Fri, 16 Jun 2023 05:20:42 -0700 (PDT) X-Received: by 2002:adf:f30f:0:b0:309:3a1e:fc54 with SMTP id i15-20020adff30f000000b003093a1efc54mr986682wro.7.1686918042460; Fri, 16 Jun 2023 05:20:42 -0700 (PDT) Received: from localhost ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id i1-20020adfefc1000000b0030647449730sm23807695wrp.74.2023.06.16.05.20.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 05:20:42 -0700 (PDT) From: Juerg Haefliger To: jk@ozlabs.org, joel@jms.id.au, alistair@popple.id.au, eajames@linux.ibm.com, linux-fsi@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, Juerg Haefliger Subject: [PATCH] fsi: master-ast-cf: Add MODULE_FIRMWARE macro Date: Fri, 16 Jun 2023 14:20:40 +0200 Message-Id: <20230616122040.1035518-1-juerg.haefliger@canonical.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 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=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768862990431443289?= X-GMAIL-MSGID: =?utf-8?q?1768862990431443289?= The module loads firmware so add a MODULE_FIRMWARE macro to provide that information via modinfo. Signed-off-by: Juerg Haefliger --- drivers/fsi/fsi-master-ast-cf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/fsi/fsi-master-ast-cf.c b/drivers/fsi/fsi-master-ast-cf.c index 5f608ef8b53c..1316bfd121fe 100644 --- a/drivers/fsi/fsi-master-ast-cf.c +++ b/drivers/fsi/fsi-master-ast-cf.c @@ -1441,3 +1441,5 @@ static struct platform_driver fsi_master_acf = { module_platform_driver(fsi_master_acf); MODULE_LICENSE("GPL"); + +MODULE_FIRMWARE(FW_FILE_NAME);