Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp1490872rwl; Fri, 4 Nov 2022 14:53:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7i9Pf2sBo9Sugazx97YOq3nzCelqUWsjvkxaP6iZtAphrvH5QEZDOoNNr4Er03sExHjAPQ X-Received: by 2002:a05:6402:c07:b0:461:87ab:78aa with SMTP id co7-20020a0564020c0700b0046187ab78aamr38326632edb.258.1667598831593; Fri, 04 Nov 2022 14:53:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667598831; cv=none; d=google.com; s=arc-20160816; b=t564plJr3jIoozj9yYNDTDLxSGo5UUzqAMszOiSdLj3lLUosO787ytdbQKbM6ycQYx FidoDeSNT6PhY/J6zZwxj8zaJD+KCaUcXp0EvR03JO4V3GO8OOD/VAbXVi9TYmdRbWLE FvC9dg32SwLGK/OIX+E/SaTSshqt+K/85qTK0Nk1cYwPfEf5e36Iwgs/fEvW/tgxVoiG 80khtLiN6GYf3GAgcxCWo2nb5WTKW1AImW17RtRxqIcofRoLM6xryhzdgqgjuMvWJp/x gQP5DqR072TTrQKHLdWp45UE9bFY9CYuNn+Cmf0HiBafvUB3jQHplNnMO15cZ8jmNTMI cdBA== 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=EqPa/DvehGfjKWputR3CGGlqT3PEVcYv8LKHIYpwy30=; b=jRr08umCssJ0UFypymDuLvlE9xWyndD1QCJ5R85Rhsl19QRXpLfNeN7hQnmMtu2qbT MOuL8vyQJJY1Oh8pWC36JZeoSW9L093B9rEfSNsqElZG+WBus2W6uc9a8ONiK0I4bo/l +0VDVkbNO0gianfQmSAeXrz40lYeGNT+Nq2dCqL/rp99xB3+QXCvUdzlx6EyzkSWcqQO TFagPgbR1pSq2jMOulRfO/1pRpgf7s+6jJXEcstWsgIZAc78D/c+qTekHYTECRsYQjpt g2mbUv6hjiPk42lE4gHTOQFjV706oHJVVMYLzlXFYFWui+mn+Cn+f2ooxHcajQf6vnVL S90g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=iC4TGS2o; 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 cs9-20020a170906dc8900b0077951929341si250537ejc.312.2022.11.04.14.53.27; Fri, 04 Nov 2022 14:53:51 -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=@collabora.com header.s=mail header.b=iC4TGS2o; 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 S229823AbiKDVYY (ORCPT + 97 others); Fri, 4 Nov 2022 17:24:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbiKDVYW (ORCPT ); Fri, 4 Nov 2022 17:24:22 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A690842F77 for ; Fri, 4 Nov 2022 14:24:20 -0700 (PDT) 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 DC937660299D; Fri, 4 Nov 2022 21:24:15 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667597058; bh=4x6YPaSsnp7l5LhtBdIx6pawY/Pm4zMTHDGs5Rl+wRo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iC4TGS2ogjVhkGL0pALVY4e71LQVnQG1zb+B7PJrFMpaRfIpC9NcAm0TLl3ovrWmo 2oiZr6P2kvJwzNx9Cjc4NWXLlhAAAG9S7XaMtV/+2BDZ/q60hdSehhpt5zFbqcfsQK 7OtuBV3Ptf3ypdFVTuvO+ynGTXBUt1s9Mqd9vdAn0hJ6jb+GNTJI3Fp/NX17JzbcT+ 3CKrAgowixNpY4x103zcJ8z4etOT6OrkurOAhK6y6NTzKAoYdOuVW85q6i0I8XulHB VwVtiWVqc/v9Jdo/gcHX5mz6h8KVJkVSQQvrKX7yJWxgRyusKrT/MEfhPY1oucvldo IegR/DY6AKQNQ== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Mark Brown Cc: kernel@collabora.com, AngeloGioacchino Del Regno , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Akihiko Odaki , Jaroslav Kysela , Jiaxin Yu , Liam Girdwood , Matthias Brugger , Takashi Iwai , Tzung-Bi Shih , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 2/2] ASoC: mediatek: mt8183-mt6358: Register to module device table Date: Fri, 4 Nov 2022 17:24:08 -0400 Message-Id: <20221104212409.603970-2-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221104212409.603970-1-nfraprado@collabora.com> References: <20221104212409.603970-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/mt8183/mt8183-mt6358-ts3a227-max98357.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c b/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c index a86085223677..8fb473543cf9 100644 --- a/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c +++ b/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c @@ -835,6 +835,7 @@ static const struct of_device_id mt8183_mt6358_ts3a227_max98357_dt_match[] = { }, {} }; +MODULE_DEVICE_TABLE(of, mt8183_mt6358_ts3a227_max98357_dt_match); #endif static struct platform_driver mt8183_mt6358_ts3a227_max98357_driver = { -- 2.38.1