Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2029368rwb; Mon, 7 Nov 2022 08:22:05 -0800 (PST) X-Google-Smtp-Source: AMsMyM4vDZ0dyDSiWQcpn54PxiJLgQgICutmd0zMe1F7lluLg3XHHfVTV7n6vNWTXTATAudUynuM X-Received: by 2002:a63:c06:0:b0:439:9b18:8574 with SMTP id b6-20020a630c06000000b004399b188574mr42946260pgl.608.1667838124891; Mon, 07 Nov 2022 08:22:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667838124; cv=none; d=google.com; s=arc-20160816; b=SOVBolV/OT4eclsBIbHM0xT8ZtAHbcs3nzc/irzJ2UJRzofEWJ5ZOJE4J2beZC5FyY EsOBnKcpDkudt+cJ2FqEwJEBVpkXRL284LWwrNm2ypan7Oa2SmtQhHPAGK7kYDN7bYSv yVv/fooIhCouHYNtOIaYjJlYRfLEaqS/ni9wHyKdV2VGZVlL1HYixJVCAl7awhTLRqIW RQgVhrG198uWHpk3LqYr1Ui7Vq5hgtiV7wWefWc7QK/B51gdHTtnAaPDCTULgeFa1IKu iuWZ1JfkPbXiAYRwSOJXjj+Jzqb/wwa0DPIIgFZC70o2s2tHWJMogCvI7/gZwz2KtarZ zY7w== 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=ZySpqZ1rbBbhblRZZ99I0kVqZdL8EVbcx+qxL+H1TTw=; b=uDtaRXVSBcZxK+DZ3dBe2s7oxnih9po2zph3qp9eMG0NNv7Io4pQlmRzyBfHS7aPCT mGoYwoLKW3gW8im0Cf24ZFaJfqYb+FbrPZwTFOHOzVI2sS0StFuLaVDxpoLqQehkidX2 PU06AmBpXtLrbWi3LR6DtHVwxo8VoOfHPr7oltJOZlPs0qsmOiZGGR+zkUTbw9K6vEoI 8mDfXKUrtjgc6Wx7Mpf7alqOiUtPeKbGsI+CP7DwvZTF6BI3lO0I5UDCKxFGF1RR6C3Z 6OmTQqFFGAbBfORjdU/f05VvuRCQ6c0cue/cl2/hZPJaJgzpIwBWSVlZ9aHhlYLcQBPd Ehdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=P+xngZ7g; 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 h3-20020a17090a648300b00213621b3301si12942967pjj.162.2022.11.07.08.21.51; Mon, 07 Nov 2022 08:22:04 -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=P+xngZ7g; 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 S232017AbiKGQFZ (ORCPT + 93 others); Mon, 7 Nov 2022 11:05:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232670AbiKGQFM (ORCPT ); Mon, 7 Nov 2022 11:05:12 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 960ED2019D for ; Mon, 7 Nov 2022 08:05:04 -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 05E1D66023A6; Mon, 7 Nov 2022 16:04:59 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667837103; bh=dZK26kkOEZwwya4mrJgF5oR5LpfzoAchwXP6tiVxpXY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P+xngZ7gqkSUL8lnYkXFWmM27FvrkSyDSWee3iBqB3wq0rnXAhpGr2pNDtY2+fESm c9obgkrgytpvTyPC98KV/d7Whuxsgv2R0tYKF1/Rv1B/zmDPFx5QOws/WXCERisTbZ vfOaMF32YLpV9vb7q+IFzB9eqPbuXuB8MTuB8Ya7U05NFOEz6Kf9ZF1tr+0oiBi+jS QdA8NjcOvhgyWlVM+XQVDxfqKNJO3hfU4BeiWEFqUcxakG5k/qa2oKQiY2xQOK/C7I Kbb2v79FcbIrqKOjSgSEAGzIcgfG3J7Ba0YVIJErz1QvJ/tGKwXqG9UCvNlx67sa+m fr6O0vML6sePw== 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?= , 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 5/9] ASoC: mediatek: mt8183-mt6358: Register to module device table Date: Mon, 7 Nov 2022 11:04:33 -0500 Message-Id: <20221107160437.740353-6-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. Reviewed-by: AngeloGioacchino Del Regno 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