Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2043782rwb; Mon, 7 Nov 2022 08:31:11 -0800 (PST) X-Google-Smtp-Source: AMsMyM4VfbJeT/shPP5kXYMr0RJLOC2JVJvhlA42bsGFBytsTG1ydh1xWLUViTHqXfOWkWVqmPj1 X-Received: by 2002:a63:9c3:0:b0:46f:897a:78a4 with SMTP id 186-20020a6309c3000000b0046f897a78a4mr40569619pgj.624.1667838670965; Mon, 07 Nov 2022 08:31:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667838670; cv=none; d=google.com; s=arc-20160816; b=rJAiOvprYfPzOTXW1uIHJ7br0W7lhoEqSwEz7Los84bWDxKZrCE6zy/C9e7eEWgdz8 6oFdd+29p6cfeHfuOgnlMoSN3khmmoGxNMFacimNH9lVW1j7fqQhSezR2KetZNMIle8y fI7RRFqCFSx/dpWWir6ruEasEzQ7A/oO1YbntjCjIHfDn+oEW3n8bgzA3/oGMGN6N6Un hvVMJ9ojBnKhpK9pPvilLR9bCjt0VCHYegwPjdcgvq8kGRbih16tJEeeiv4tmbM/STWD nxMXRYrk/DngqsJ6llvubEW9U+JEyNmBHyg5E/HJFg+eg7PDOroFCfkewRDi8KWxImXU 8HyA== 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=eRCnsdFmI22oXmR3+NVxPYEvtrF+nUtfGP7abgQ7HbY=; b=bWBogJXmA+B223GMbmo3ok0tDZcl7lJJGVlQZLGozoCJLIuJlViCDN3eP2/cib/1p6 zkVFFlcggzZAxJJBXY0Fteihg62bxXo7mBcVxRwYec0Ocb4HaZ8HXkScbph18Rpx1TNU dMXIDfU4cnkeGfrWyn9mgAyO0iv30di2kgnExWmAB3UxZ/SleqBknl8zqTqHaqsu5thc XrjMhkE7olccTlQXtgUi54V6/xi6CLkY0XF23Z968sEs6TH4c4mshoVMjQCI3+6bo6+H UaSl8VEuuHuRrZkvez8v58eVL2hCcyCEExhWmhhSQWx8Fdp8NbhkivZWPWpZ3SFZUFUr w4Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=caGmBwZ9; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o15-20020a170902d4cf00b0018683763131si12838124plg.501.2022.11.07.08.30.58; Mon, 07 Nov 2022 08:31:10 -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=caGmBwZ9; 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 S232629AbiKGQF3 (ORCPT + 92 others); Mon, 7 Nov 2022 11:05:29 -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: 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: 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Ă­colas F. R. A. Prado --- 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/sound/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[] = { }, {} }; +MODULE_DEVICE_TABLE(of, mt8186_mt6366_da7219_max98357_dt_match); #endif static struct platform_driver mt8186_mt6366_da7219_max98357_driver = { -- 2.38.1