From patchwork Wed Jun 28 09:50:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 113765 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8805745vqr; Wed, 28 Jun 2023 03:08:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5uolx8J1Y8acpkpOhapZ5EZZ/5dKsLaNN6FxJek8a0DqR5x4CotkoqDatut5oDkabg/HNA X-Received: by 2002:a05:6808:1407:b0:39e:dde3:485 with SMTP id w7-20020a056808140700b0039edde30485mr37255398oiv.41.1687946927925; Wed, 28 Jun 2023 03:08:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687946927; cv=none; d=google.com; s=arc-20160816; b=y/1npNhV3HbN+/VvzVNtPW7s0RXBYY2WbgFjQaKYW2T6+paElJfF647VY7+nqFqCza tPi5mYZTDnTMkhf55wivCrLfJ+AMxmBOq36ZppNmWUdZUGJsYZtyKk9lGVdTW4AyRULm p71w2rZqFJLXz6yQwEQbG9+X4Cf5iWS1MooirJ3/sCTcdkFW2X0FJTiNOkXmWCkZvvPV ZHBhZ4Thjr7gVxE/PK9I/7V5hyevrgLCJ0E9/qV9bSqJLYqsoTl841/yPYThjKXw7nZY z0/ZMI8/s6zalr3k+hDbMLj1T+2jhMDZJqPFfHziWAVsxozolczAkBrvyxcfScE9MEEd uhFg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+3ajja7MAstA+YCVmYNOJvwhE7/9ec4gOlnHNDS3MOU=; fh=lNhZeB1nRQzux82oFmSydoQWTvNu0zJCOkYc7DUjCBs=; b=tLVY6UePW/5wzV6tP+UCDxoe7OfU30Nv7U9RCtmanpXYNGn2XVOn6v2RwmT/RWhkHd aYah2bqSIOnVDdVmdWETOFrmQ5tEeYW0Qbfly33FL15tQHbJunvfM1Cx4hSkDnEBCBUF ubDDovwzJ78AbJI94TY2vB8X8Zn2accvzVj2NChGgqrB0fT4xbmZCehh31MtprwxaJjM uArjsLXVDr81RTdI9CqQZLbzbqXe0+0Evz43Qryh8rwnHQ+/50CaZeSNEMq8j703za6u BRclzK3B6Fc116twoc5pDhhGUXUfLKvM38I4/923lg32HXu3tyPGru3BJxWFoL6QldM2 1YkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=IY9PhGuA; 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 u23-20020a17090adb5700b002632e0a7014si1919122pjx.97.2023.06.28.03.08.35; Wed, 28 Jun 2023 03:08:47 -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=IY9PhGuA; 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 S233820AbjF1JzE (ORCPT + 99 others); Wed, 28 Jun 2023 05:55:04 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:60508 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230297AbjF1Jur (ORCPT ); Wed, 28 Jun 2023 05:50:47 -0400 Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (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 B26E43F266 for ; Wed, 28 Jun 2023 09:50:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1687945844; bh=+3ajja7MAstA+YCVmYNOJvwhE7/9ec4gOlnHNDS3MOU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=IY9PhGuAx7bsRmVsptgNaIWo/6lOnkdt6dorDkfEtAwaDf1UDygjy+z+KDofwnpP+ /dcH1yY6ktGbA/dv6WNNNnC67Y3bmHtvOLXMsiFJDItrxyaCsr4zuI9IdWbTj4vL9o dd3PmIW02Dk49TANdDFQDHEs9LyIxX4ll5yLRiXPPkW/2Nu/F3h17sb2Eb8RBR58QH ts7jrG9qyW71FMvBHJTp/GQHzhQRKFHpkSpv+/GgbJxscIOdfpz6LVWtIfzaMaJOUB KcZVJQSE8IE8fws4t8rgI4K1DBPH/7GfN5UuVhODEbqdhn7AIHfYQtUEaIO9JkrHrH 9IkR+Xr37vf8A== Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-4f01644f62eso4658160e87.0 for ; Wed, 28 Jun 2023 02:50:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687945844; x=1690537844; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+3ajja7MAstA+YCVmYNOJvwhE7/9ec4gOlnHNDS3MOU=; b=eP4+QWZENhNYKdUgTor8NdM0GfNeF8/peGn8L2EJZY6jlgPhj2PPbQB3orWKAEGu6D hLbm/MTgmBV2gp5XFmjsKg/2V+9S0bUzjpnMV9z90sInfKWRYU/HrlSHgwx+p8CIED/r EWLx58EjCeeVtm9P4ICIefJZFVtFiH/4JhCTzwa8HSce3pqgJekDhrdkz/EtkDLxwvcA L9VKlH6juL6d1JqMNLkD8dopx8PUyf9FxumIjJZrNXfuwaF0c/rWe2W1pdqUX6JMzo6P fPg4FU+PTP3KWeY1Mn3POk6vl1PchAd9NEDOz/MUVdsbpjVoeGcs2MeCDYLc1RMs53FX DhGQ== X-Gm-Message-State: AC+VfDwavkL9Zy+FFVbcKZX18wuZ32p6DMiJUkhzrH2qX+z5CDDZRkGg IflQ/9CjAKS8OGCd9gw2V3pk87vN6bcfcWsQSWDdtBWlw/pE+yqnJjDO5UUkLQkK/vwpGnRv6nz yikzewA6ELLA5Ctz3cxcSgDKOmlyAoOtMK2TXXd+7QA== X-Received: by 2002:a19:380f:0:b0:4f8:4177:e087 with SMTP id f15-20020a19380f000000b004f84177e087mr18902751lfa.47.1687945844105; Wed, 28 Jun 2023 02:50:44 -0700 (PDT) X-Received: by 2002:a19:380f:0:b0:4f8:4177:e087 with SMTP id f15-20020a19380f000000b004f84177e087mr18902737lfa.47.1687945843773; Wed, 28 Jun 2023 02:50:43 -0700 (PDT) Received: from localhost ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id a25-20020a5d4579000000b003048477729asm12871090wrc.81.2023.06.28.02.50.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 02:50:43 -0700 (PDT) From: Juerg Haefliger To: juerg.haefliger@canonical.com Cc: alistair@popple.id.au, eajames@linux.ibm.com, jk@ozlabs.org, joel@jms.id.au, linux-fsi@lists.ozlabs.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH v2] fsi: master-ast-cf: Add MODULE_FIRMWARE macro Date: Wed, 28 Jun 2023 11:50:39 +0200 Message-Id: <20230628095039.26218-1-juerg.haefliger@canonical.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230616122040.1035518-1-juerg.haefliger@canonical.com> References: <20230616122040.1035518-1-juerg.haefliger@canonical.com> MIME-Version: 1.0 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?1769940637804730575?= The module loads firmware so add a MODULE_FIRMWARE macro to provide that information via modinfo. Fixes: 6a794a27daca ("fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire") Cc: stable@vger.kernel.org # 4.19+ Signed-off-by: Juerg Haefliger --- v2: - Remove empty line - Add Fixes and Cc tags --- drivers/fsi/fsi-master-ast-cf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/fsi/fsi-master-ast-cf.c b/drivers/fsi/fsi-master-ast-cf.c index 5f608ef8b53c..cde281ec89d7 100644 --- a/drivers/fsi/fsi-master-ast-cf.c +++ b/drivers/fsi/fsi-master-ast-cf.c @@ -1441,3 +1441,4 @@ static struct platform_driver fsi_master_acf = { module_platform_driver(fsi_master_acf); MODULE_LICENSE("GPL"); +MODULE_FIRMWARE(FW_FILE_NAME);