From nobody Thu Nov 14 07:43:05 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F05F3C43217 for ; Mon, 7 Nov 2022 16:05:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232839AbiKGQFb (ORCPT ); Mon, 7 Nov 2022 11:05:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232618AbiKGQFV (ORCPT ); Mon, 7 Nov 2022 11:05:21 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3222D205C9 for ; Mon, 7 Nov 2022 08:05:07 -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 9482D6602923; Mon, 7 Nov 2022 16:05:03 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667837106; bh=cWcFrxjVwWRyWpHfqO+h4s6yyK8WemwZSSHtSbA6Aew=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=caGmBwZ9FxdBpYduYe9IVamXR+zFGl3SvC2rT/tF4Pq1KyiVgPZBt+G5AUPR44yXR 6kPqCJOjWFL+0lycdDmoUWSaLEArIkyG31S6IqvlUqlLKVIrda+KoXJLVYhVgISbqq 3QiQOrzlHPIJQ5aRTQ6zOMFbMbNewarUl6QkT1034UEAM+uU1acL4pX6c0dcHCB2Fb 8mZ3vvxGJzP5ggpp9bBrhUPTtAgjJYpaAE4GaBgzo5AGNZ678AKL1oB3EzZl3+3JQJ rld7o3VuXIZeTGJJW8MxNn6apulJSK2sOC0AAgUo72bWxCOwnhRN039Dn6itHsFikP LnIL4wi+F55lQ== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Jaroslav Kysela , Jiaxin Yu , Liam Girdwood , Matthias Brugger , Takashi Iwai , alsa-devel@alsa-project.org, "chunxu.li" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 6/9] ASoC: mediatek: mt8186-da7219: Register to module device table Date: Mon, 7 Nov 2022 11:04:34 -0500 Message-Id: <20221107160437.740353-7-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: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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=C3=ADcolas F. R. A. Prado Reviewed-by: AngeloGioacchino Del Regno --- sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c b/so= und/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c index cfca6bdee834..08ff57f7189c 100644 --- a/sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c +++ b/sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c @@ -1161,6 +1161,7 @@ static const struct of_device_id mt8186_mt6366_da7219= _max98357_dt_match[] =3D { }, {} }; +MODULE_DEVICE_TABLE(of, mt8186_mt6366_da7219_max98357_dt_match); #endif =20 static struct platform_driver mt8186_mt6366_da7219_max98357_driver =3D { --=20 2.38.1