From patchwork Fri Jun 16 12:04:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 109095 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1310460vqr; Fri, 16 Jun 2023 05:38:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5JuT8KdOZ94ezTxqO2Ks8VkcbD+UL7C8cN4fsOjDKFXbmd86sP7oZjsbcqihtjV3Zhyg54 X-Received: by 2002:a17:903:187:b0:1b0:4b65:7a10 with SMTP id z7-20020a170903018700b001b04b657a10mr1669008plg.53.1686919130264; Fri, 16 Jun 2023 05:38:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686919130; cv=none; d=google.com; s=arc-20160816; b=DTXu1VRCmp5mHPjDbYUhU9QFo1aaEHX5i+TZfKXGTJ1xFGP6bYSVUk4divIJpwyRT4 TzRPb+wdY14wWRUmR2Y2lnIeT+Qt+/Sb7a9LyQDsZ/0lP7bJa5CvyFDOgt4BdGlT3Ruk NKW6xGKIh3CYqyNftkr7jDdyZIJGwuF5PCOX2sDt95WL05BQhvHB85ZuopxqaEwblbpR 7inwxWSHecUenWLGJFwlFuvFfNWl4WO0X55hnz2bO4Es0CQBJL9Vj6UcReuqMRTRa4Pa BSV1xM9qfd66WaQKI3tT3b20mDYFlEuZPPUERVLi06m3pVIqhSPimTPYudl8Ytey2kn3 Gfbw== 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=927ZT3SpMX4GIfbYzorfuIN9F9EwjFp+WEVN3jcKmbk=; b=G1/yPB++FwcLXEESGVexpKlek1gxsmNkgvJ7Zon3t8J3E1iIWgkCPJmUl4b801ndvT dWjktBZSXutCXTwDOHmzK0qp6llOHW/89G3/0Gdne6xOyL9TnpEF7uq4pDOgHkZcfF95 El2KF/Ff7iIA2g1wx1MqcULhRNAMt+2O2MRXNKOeee6ryILrLXrJeO6e+d/czdeHTDU6 lg4HdoVZhGJe1srhfTFCPUbkDWC+TjTYcGPVBlL1Ahe6v9TcVSd0fDxg0EVsUBFY1/de qy/xKif0VfUose7GHGFS0W3R4LYhj9tALxnCwEw7eNXnzim6CP1EdVMCn0cHa4XcHI22 u6TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=MV5ufRNA; 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 n2-20020a170902d2c200b001afcd047456si8927175plc.636.2023.06.16.05.38.37; Fri, 16 Jun 2023 05:38:50 -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=MV5ufRNA; 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 S1345154AbjFPMEX (ORCPT + 99 others); Fri, 16 Jun 2023 08:04:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345104AbjFPMEU (ORCPT ); Fri, 16 Jun 2023 08:04:20 -0400 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5681130CF for ; Fri, 16 Jun 2023 05:04:11 -0700 (PDT) Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.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-0.canonical.com (Postfix) with ESMTPS id C208A3F460 for ; Fri, 16 Jun 2023 12:04:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686917049; bh=927ZT3SpMX4GIfbYzorfuIN9F9EwjFp+WEVN3jcKmbk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=MV5ufRNAFapYuznvMGgdFAGWHoxj9wZ3Vtb/VR7Qww/tqm8N0TzUprVydXxmlfY03 sr5SrGeoUrYQ07lY/1FuDKlYaAbfcMxwFrb2xjMuxJHT7P8zdqWYtHE+aks9wZMbNd q7WZAZb6z8D4I3UhKeFb7FmeSQ5tM+5WkWQ/OX0MzwgqkI0yKGfkNSIA7cLWgBFj8S 1j2rAOcdpzybrAamiMGaq/vhZr7Mq2vAZvW/xTr00T5LLoUYetexg2boURM/ubHtdH f2IBAJOS9fLAHUDmfo2AkzyzTC/ebDv5ByZ+0OrOlD1iMQktPRQKY9bDdpLytDW+ao Mnz+0zRZjW7AQ== Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-30ae4ed92eeso207690f8f.1 for ; Fri, 16 Jun 2023 05:04:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686917049; x=1689509049; 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=927ZT3SpMX4GIfbYzorfuIN9F9EwjFp+WEVN3jcKmbk=; b=PsStk2Z6VRkL5njBdzjmGt4LjLuLO9+Uu4zYo/xlsW7YcX3WGTT3GykysoXvTipQWm OpYKBS9HyZU9Bld7Uqwh8bEV2mySbfltPwjcINinZS1Hwcim43jduSRmSvtut+6jksVF juWWsnNrTNVTGQiwNK/P5HANncHTawTZhbf3tdebehbnIq6dS+oByRfvIEHLsczZt9sY E6mWw3+DcAHCYTZgS6Nu3KN6auvwA9W93dVc0GNB6jskHF+FqsTmRpkX0ywihg6gIroj BjC1N3LWE1d0y6HW2HgvFkyfF+3FbdE4t4ngPvU0fDpZ7W2m3JioCH/ZVEtJXPPx5PPj fIOw== X-Gm-Message-State: AC+VfDxpDP42Uh5U8i8UNcp9R/VBf+3vyPufEQFHpOwGIxFW0K8ivcw0 k5qeQ2UPKNWo/Pjvz4V3SiMLu0gZBud6pXJs9DWkKpIQvlvAFzk7plR3Q2JAZM6Ktr04oXN/EkA UE60uP7M/tJjmDW3UVIEmOmm7YaYMHnmpwK0kt/xUKQ== X-Received: by 2002:adf:fd02:0:b0:311:1b84:c493 with SMTP id e2-20020adffd02000000b003111b84c493mr1389377wrr.41.1686917049338; Fri, 16 Jun 2023 05:04:09 -0700 (PDT) X-Received: by 2002:adf:fd02:0:b0:311:1b84:c493 with SMTP id e2-20020adffd02000000b003111b84c493mr1389357wrr.41.1686917049030; Fri, 16 Jun 2023 05:04:09 -0700 (PDT) Received: from localhost ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id b14-20020adfe30e000000b00307a86a4bcesm23567625wrj.35.2023.06.16.05.04.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 05:04:08 -0700 (PDT) From: Juerg Haefliger To: linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, mchehab@kernel.org, hverkuil-cisco@xs4all.nl, juerg.haefliger@canonical.com Subject: [PATCH] media: bttv: Add MODULE_FIRMWARE macro Date: Fri, 16 Jun 2023 14:04:06 +0200 Message-Id: <20230616120406.1027187-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, RCVD_IN_MSPIKE_H2,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?1768862914169390832?= X-GMAIL-MSGID: =?utf-8?q?1768862914169390832?= The module loads firmware so add a MODULE_FIRMWARE macro to provide that information via modinfo. Signed-off-by: Juerg Haefliger --- drivers/media/pci/bt8xx/bttv-cards.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/pci/bt8xx/bttv-cards.c b/drivers/media/pci/bt8xx/bttv-cards.c index ec78f7fc5e1b..867c1308de23 100644 --- a/drivers/media/pci/bt8xx/bttv-cards.c +++ b/drivers/media/pci/bt8xx/bttv-cards.c @@ -126,6 +126,7 @@ MODULE_PARM_DESC(audiodev, "specify audio device:\n" "\t\t 3 = tvaudio"); MODULE_PARM_DESC(saa6588, "if 1, then load the saa6588 RDS module, default (0) is to use the card definition."); +MODULE_FIRMWARE("hcwamc.rbf"); /* I2C addresses list */ #define I2C_ADDR_TDA7432 0x8a