Message ID | 20221107160437.740353-4-nfraprado@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2143165wru; Mon, 7 Nov 2022 08:07:41 -0800 (PST) X-Google-Smtp-Source: AMsMyM5mWeGYDkZMa7tQX+wtXSVQ7zJaRxrfywHqBO3LOpzvS+4n3iob0V2+pTDtl3PaSOyFeCNE X-Received: by 2002:a63:ea53:0:b0:470:18d5:b6a3 with SMTP id l19-20020a63ea53000000b0047018d5b6a3mr630370pgk.541.1667837260877; Mon, 07 Nov 2022 08:07:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667837260; cv=none; d=google.com; s=arc-20160816; b=c8qYc/q+AygadUSN4tcgWw5Iz3SBticJIE0Dqqm7+UFMzJomtzCZxLPgbLQMCaa8RH OQ2ZdostuwV6xAv5psiNzTOoCKaX9dHQJmt9HjwfIiysSbE+zqN0YEFFgMdtgJf+OID/ XZ4FOv7ejbSJ9wVomZ6d3s2A/rZxTRVlbYWH8+tP4OXS+1YpY282r8ry6AiTZin4BPQ7 MlJien8JSyEkZXxRwLWCpqwFe0BorpSHO0XmS0vqXaz6EIOJuXDM3yw/Srz0V1hwlnT/ 3B8iSR/RSXuj3mnn3ZZZ+ZlTyZUYy9T7+t4cOFr3mxH4+NvuPQRw/7xhWIucRxevm7Ep y7Bw== 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=inDWf4aVWfqLXa/6RM0Qbq/x3xftSmJHQSSuFLoWOoE=; b=nBflaaBLi8TLSUKV8C5cYt6iLUCNNt0jnUwUH8gosYar4C59Y4uHbyo+P3qVdPmIqF PsWK5o0xpPpOrCzzuTsJhsY6JfnstoXcV/uytps9ez9f3yRLD7GDRZ+Jt0doMM9oMClv J8pRTchbGVWelWpvQLN7jJFol/mklqlMdnSUCpi9G2cuYRCKy7UDLl6mBAFeKYAgCAft vGOrHIn62GSekmSaJ9U9lJFRwG5AVWIYH/nznMR/3NWZ6uz0Jv1FtTBtRdLbCT0Mfeca h+UuWVZsiGzD3q3A2Vvh0MmtT5A2WA8xU4+bHRUDjYpDXMv/bcJsDnxgEhLG/jQYFJWW ihzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="IOE585/b"; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bd33-20020a056a0027a100b0054252c63d75si11178189pfb.98.2022.11.07.08.07.20; Mon, 07 Nov 2022 08:07:40 -0800 (PST) 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=@collabora.com header.s=mail header.b="IOE585/b"; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231589AbiKGQFE (ORCPT <rfc822;hjfbswb@gmail.com> + 99 others); Mon, 7 Nov 2022 11:05:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232540AbiKGQE6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 7 Nov 2022 11:04:58 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8278E1CB1E for <linux-kernel@vger.kernel.org>; Mon, 7 Nov 2022 08:04:57 -0800 (PST) Received: from notapiano.myfiosgateway.com (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id BF4CD66028B1; Mon, 7 Nov 2022 16:04:52 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667837095; bh=kyJUl4AIfO/bUHE12xVqYeJlBk+GtcwnhEWyl6Ffr50=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IOE585/bBs1Urpz+7wizZVDFh28yo+XQgY1LV95IGy7snk4vB2ayP4Kr9Qgip953p 1x7+QGeKcKehO/RwmLvWCDGRyfXAhP4RWK0oNu19trya1DW8OXRZTfRn+10yEhd+d0 ePdN1Zh74GiBYHnBcHACyueDl5acGdC7SgE4yMfc0k3kJgWmqfdfqbdpyXout9aWxu ZGJMjfGkvvoIZ7FNxcvQ9Q36MseW9Mo4pHfTrKeuQaL69darwdw/27znC0zRJBMvIc Pny7MhxqMz4oV3uBz7U+9VqdKgcrVxCbtTYEtwh+zXeH+JUHRogTzXCXkwcnIPOtF2 mR5GPYij1YTgA== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= <nfraprado@collabora.com> To: Mark Brown <broonie@kernel.org> Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= <nfraprado@collabora.com>, Jaroslav Kysela <perex@perex.cz>, Liam Girdwood <lgirdwood@gmail.com>, Matthias Brugger <matthias.bgg@gmail.com>, Miaoqian Lin <linmq006@gmail.com>, Takashi Iwai <tiwai@suse.com>, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 3/9] ASoC: mediatek: mt6797-mt6351: Register to module device table Date: Mon, 7 Nov 2022 11:04:31 -0500 Message-Id: <20221107160437.740353-4-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221107160437.740353-1-nfraprado@collabora.com> References: <20221107160437.740353-1-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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: <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?1748854123885640071?= X-GMAIL-MSGID: =?utf-8?q?1748854123885640071?= |
Series |
ASoC: mediatek: Register machine drivers to module device table
|
|
Commit Message
Nícolas F. R. A. Prado
Nov. 7, 2022, 4:04 p.m. UTC
Register the compatibles for this module on the module device table so
it can be automatically loaded when a matching device is found on the
system.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
sound/soc/mediatek/mt6797/mt6797-mt6351.c | 1 +
1 file changed, 1 insertion(+)
Comments
Il 07/11/22 17:04, Nícolas F. R. A. Prado ha scritto: > Register the compatibles for this module on the module device table so > it can be automatically loaded when a matching device is found on the > system. > > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
diff --git a/sound/soc/mediatek/mt6797/mt6797-mt6351.c b/sound/soc/mediatek/mt6797/mt6797-mt6351.c index d2f6213a6bfc..784c201b8fd4 100644 --- a/sound/soc/mediatek/mt6797/mt6797-mt6351.c +++ b/sound/soc/mediatek/mt6797/mt6797-mt6351.c @@ -242,6 +242,7 @@ static const struct of_device_id mt6797_mt6351_dt_match[] = { {.compatible = "mediatek,mt6797-mt6351-sound",}, {} }; +MODULE_DEVICE_TABLE(of, mt6797_mt6351_dt_match); #endif static struct platform_driver mt6797_mt6351_driver = {