From patchwork Fri Jun 16 12:05:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 109101 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1314270vqr; Fri, 16 Jun 2023 05:45:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7C03rySQVWRrzWraeO/qwo2V6xYDROKSlPkNipP/ipkGl4WQ+x27TQ2yISFPHqyVxJGI0p X-Received: by 2002:a05:6358:cd0f:b0:12b:ea33:84f1 with SMTP id gv15-20020a056358cd0f00b0012bea3384f1mr1665038rwb.28.1686919551120; Fri, 16 Jun 2023 05:45:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686919551; cv=none; d=google.com; s=arc-20160816; b=DZ/woBjYkKz4HiGzZYkbhacXYHTgimXMKr9Uh5EpbM6cq/sBb0d+5SQ377LBoU0VKq WSETXbnAzpiXWk5fDvlLjrbZUcrb1gSNqZQGoz7VMruqBV0QZ6cbbW9vMC5qYzqrkNsR +imZDqQyYSzY4plMai8aaypxoyjD2NpWq8hATKh7Guvj3450YJyhO5Sda0dYXid3XfY5 8DVvxqu3XU7U86YFyJvXAKLsJEopXGFMXC6dxZ4jksnUjF9r3cKflkBJsyRkeM6RlryZ WIHv8hfvAny36D1a/XbBC0PysE0qnNvMrrQP1AYfexSpj/vh67ZM6HlKIGoS+q/ePcWi hT9A== 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=m7ySH3JrcTV8+yw7ueBFG47cxZsJ9e+MajPgheIKd1w=; b=u1rxKaTkTAc6uhx+EDMnF1oNdYEFoklDb26HocplfI1vGM9KPUwqSKetiBG86otZhP ZhvFommx8O2ecRc/+KTI7UMehDmzLoOGFaNNxPy9bh1OsQJl1eh+4631WFOYjKPsYKSQ tRa4mAO2rD4XJU5R3eDYA47UniklkSGlrr3GlNLPW8Eu+mL0Nsxvbs3yXp6bD4EEum30 fcG0hFHSOUiC5G+yB5EMCxvMnEQovBneMfkU5MD+6QYjpttCKn3EMansaWYemmxl/ReX s27yTwvUbCEZML5hebCXgBbeqDvdz7uW9s+nV5oNIoaAtEjPUsuvGdkuo7EnhDmQDD5y 93rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=sgvBiES5; 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 f15-20020a63380f000000b005303a7ca04bsi14455253pga.486.2023.06.16.05.45.37; Fri, 16 Jun 2023 05:45: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=sgvBiES5; 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 S1345188AbjFPMFp (ORCPT + 99 others); Fri, 16 Jun 2023 08:05:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345178AbjFPMFn (ORCPT ); Fri, 16 Jun 2023 08:05:43 -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 5BBAF30DD for ; Fri, 16 Jun 2023 05:05:40 -0700 (PDT) Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.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-0.canonical.com (Postfix) with ESMTPS id 1E4433F10B for ; Fri, 16 Jun 2023 12:05:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686917139; bh=m7ySH3JrcTV8+yw7ueBFG47cxZsJ9e+MajPgheIKd1w=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=sgvBiES5LemzjKmE5arXKRcu7Tc5bUYOste+4GM84XMboqjj399vY+XAcF+GxVqLr J+YhN/FibZAZUhdkseItgGZNB74pE+o9t5A1zcfycYX693rh1/o3FEUO3vtohA+2gj nR/MiSi480xNUKe0zUl6e7TJ5aOFeKJAIpDpn1y4khNo17oF0GhXVeSP4rcQ8J5Dfx fO4p2VvrUTT0GA966CJ5h8efNMnbqq6hlWRABd+W42PBKcrmRU3P+0oQttw8UhZHkU CQLIuLC0SCH4EqQ/BMgCwPjJOxJYswOuti07KghoNB3bUZxCUaBCJxhZAGRLxryCdD F/h6C/LSKDUQw== Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-4edb90ccaadso481873e87.3 for ; Fri, 16 Jun 2023 05:05:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686917138; x=1689509138; 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=m7ySH3JrcTV8+yw7ueBFG47cxZsJ9e+MajPgheIKd1w=; b=cWj0QZBY6AQgtiUle8nXhpLla55tHHskll5+y9zU6kKtdvVvaC9Q4YeGdcUC+t2zTH cZp0/5aXIbLmP+8xBwyYYhSQ2/x8PKkeCKl5dO0MTEnn8MHmjws1EHAlg9qZvONP6PNq QB7WNkfl5tX94AndBYBoVu5FNJ2VKaPHgBndrfH3/KpcXGPTK9Coufv8cJIQvCDARfGO Fihz8xKwELW7bKR/br7kG2F6ze72XoHVOBft2Qrvtuh+tP9xsxUWFElV9dKGBkBfhBQy E+Ru7gw2A5/w7JsJe9tMLMH98TsVkxM14EFcLZCvMQrphmk+0ZnnPhGPZPWTeE4JOTus uG2g== X-Gm-Message-State: AC+VfDyeL5kQt3sdiXdi1aHTb4s51BEaiv7ILhz9ZSrTI7MAiIU93raI jk0NtSrQK8yUQUfyQv50waUZtxs8S4EAezwuf+G/eB3/AJ24dilqmAONerOi2i1amB5iiQLFgyb pjih4T0MYSVtUiG97yJcZZ1bbhwQ43dKjt03YnwjBfw== X-Received: by 2002:ac2:5f9b:0:b0:4f3:78c2:2a6d with SMTP id r27-20020ac25f9b000000b004f378c22a6dmr1288645lfe.3.1686917138629; Fri, 16 Jun 2023 05:05:38 -0700 (PDT) X-Received: by 2002:ac2:5f9b:0:b0:4f3:78c2:2a6d with SMTP id r27-20020ac25f9b000000b004f378c22a6dmr1288629lfe.3.1686917138336; Fri, 16 Jun 2023 05:05:38 -0700 (PDT) Received: from localhost ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id c25-20020a05600c0ad900b003f18b942338sm2068082wmr.3.2023.06.16.05.05.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 05:05:37 -0700 (PDT) From: Juerg Haefliger To: deller@gmx.de, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, juerg.haefliger@canonical.com, u.kleine-koenig@pengutronix.de Subject: [PATCH] fbdev: metronomefb: Add MODULE_FIRMWARE macro Date: Fri, 16 Jun 2023 14:05:29 +0200 Message-Id: <20230616120529.1028798-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?1768863355092730777?= X-GMAIL-MSGID: =?utf-8?q?1768863355092730777?= The module loads firmware so add a MODULE_FIRMWARE macro to provide that information via modinfo. Signed-off-by: Juerg Haefliger --- drivers/video/fbdev/metronomefb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/metronomefb.c b/drivers/video/fbdev/metronomefb.c index bbdbf463f0c8..4e50882d080c 100644 --- a/drivers/video/fbdev/metronomefb.c +++ b/drivers/video/fbdev/metronomefb.c @@ -778,3 +778,5 @@ MODULE_PARM_DESC(user_wfm_size, "Set custom waveform size"); MODULE_DESCRIPTION("fbdev driver for Metronome controller"); MODULE_AUTHOR("Jaya Kumar"); MODULE_LICENSE("GPL"); + +MODULE_FIRMWARE("metronome.wbf");