From patchwork Mon Nov 7 16:04:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 16514 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2143143wru; Mon, 7 Nov 2022 08:07:37 -0800 (PST) X-Google-Smtp-Source: AMsMyM68s4l5a97rmMDUBbRcO9nzx+PS+VV1D8Re3eVOaQivZLldqEJ+hhokD9UTY5NZwFFuPi+5 X-Received: by 2002:a17:906:8a68:b0:7ad:b78d:b1a2 with SMTP id hy8-20020a1709068a6800b007adb78db1a2mr44089522ejc.424.1667837257119; Mon, 07 Nov 2022 08:07:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667837257; cv=none; d=google.com; s=arc-20160816; b=EfY11CKe39MMX2/J8AU2kt/1/WCrJXmJi6vubXEkBs6uH7BQAwOI1NyjO+YeVMDZgb jaGUo3BeD1MeAiuRnvdXy0ctJ6904ipY9plT1+TN6Dw3TaGhsOKgsLLiLb0uqXjvAfWy aUdgfbwTc1URxSrAe44Fm+VSxJOea5rgC1xnlhszTsQa7mhrH6iKmieB2LN1T1NiPbr1 Ee3elJD/4PoYlnYd81+FgSScq04fIO5ODc7pz1n2gi+IzwXxsZiv1cO5TnbF59K/tZFH H6JOfnD0dwmcEKuvJ++iDD9GKYzJlBBh5ctbxVSmHmuHDdKiFnRfmTXDi9P+BiFesdSa UOeA== 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=QxwfPTvU4n0QlDly0pijU60eUsBMY+yvcTnqHl4V8mo=; b=Jov99Z6nozvhMV4v+82JMpRf5hazJ/xS8hbMshcA9xOUAwJJT4s9NlSclD0hGNI7E5 vdu49gO4KZnXFL27jJTzeoz49MPhlnXYwKjtcwBnv1hqIXveXBY4tBAWhsEiY9z0q1U5 aMIgp8JVG/o/OuJym+43+vSbrz1ueU6/ZG+r5MXmAvJ5luyqy8zKCZlrqfQYnAgWVp3m Awp0dgBiDbpqPjT9NHVI6Hkf3mSa91TB8Y/RFd/XM7Z6CM1ieIhZvTlStjj8FnKu4F7A jZQGWnEbvb2FEi42q3+TNMzXnLJT+9iZtY9breYawjjNHXIjlZYxI2718+f5VpOf2wyk QqdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=XqtPPYQt; 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 h8-20020a056402280800b00457263f9ee0si10531826ede.93.2022.11.07.08.07.12; Mon, 07 Nov 2022 08:07:37 -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=XqtPPYQt; 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 S232461AbiKGQE4 (ORCPT + 99 others); Mon, 7 Nov 2022 11:04:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231756AbiKGQEv (ORCPT ); Mon, 7 Nov 2022 11:04:51 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72C2C1115F for ; Mon, 7 Nov 2022 08:04:50 -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 953D766028B0; Mon, 7 Nov 2022 16:04:46 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667837089; bh=BnJV/zpf8sAsYJ9izvBwPrAYIuUiDNkZee48XmMB8NY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XqtPPYQtxUeFGbsC/JrwA97aiXK6FhABz+jakbp/MvfSH31oowu7Fu7CYpyS6oJJ8 BXRZHDdrHLZo8ZASnHGdWp7/FZaATbN3obPj5aZApeZF3fIdY+aMyWom3FzeYRWXtR 8NL8+UWH8zlrIuVeMlxWl6L0J3iJMwXyzgKRazZrKyT0X5Xz4R6/T0zKchVB1LqJPi jesrSPkARouAVQiljoj9HUx6pIYclizHpyBF1GHLQAHey/rgJhRPBoLvKd3yF/24mZ 5oamUclMiWAK8CxGjuft1cwu4P9C4shSdsKiRd+v75vTbEfQv8IRkoN/oGr3lePvkF KToYs9gPzqK4Q== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Jaroslav Kysela , Liam Girdwood , Matthias Brugger , Takashi Iwai , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 1/9] ASoC: mediatek: mt2701-cs42448: Register to module device table Date: Mon, 7 Nov 2022 11:04:29 -0500 Message-Id: <20221107160437.740353-2-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748854119756700440?= X-GMAIL-MSGID: =?utf-8?q?1748854119756700440?= 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 Reviewed-by: AngeloGioacchino Del Regno --- sound/soc/mediatek/mt2701/mt2701-cs42448.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/mediatek/mt2701/mt2701-cs42448.c b/sound/soc/mediatek/mt2701/mt2701-cs42448.c index d9fd6eb786aa..08ef109744c7 100644 --- a/sound/soc/mediatek/mt2701/mt2701-cs42448.c +++ b/sound/soc/mediatek/mt2701/mt2701-cs42448.c @@ -418,6 +418,7 @@ static const struct of_device_id mt2701_cs42448_machine_dt_match[] = { {.compatible = "mediatek,mt2701-cs42448-machine",}, {} }; +MODULE_DEVICE_TABLE(of, mt2701_cs42448_machine_dt_match); #endif static struct platform_driver mt2701_cs42448_machine = { From patchwork Mon Nov 7 16:04:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 16519 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2143635wru; Mon, 7 Nov 2022 08:08:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf75oipNj8661Npw9n7ULD+EoK1yj+sCzfMF8yvQlR6GurcfSoaKffPvqQm6wuAIqzc1r/YF X-Received: by 2002:a17:907:2179:b0:7ae:6bcd:d0cf with SMTP id rl25-20020a170907217900b007ae6bcdd0cfmr4520729ejb.428.1667837298995; Mon, 07 Nov 2022 08:08:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667837298; cv=none; d=google.com; s=arc-20160816; b=wb25zSGRFaO5zfaJ4GS1r0M+wSi93rXyJHypNxEyx2DCWvFpthe6UqBNXIfiNg5ICf 0nNdURoBJIotFHmHQDn5Wio8Nci4eCdMfZaXpc4rbR6AMrIqYNPcvLPPMXowv/+IXW74 AEeFeJC0OQwGP0LfM5pBcF7Gdz8OjHJPM+BzW0DV1z5E2VhouoqvFOldcFPPXKTR0LNV xU+7SSuh8kKwUhzfFAcRQyILVP18IlrR99Yq9k9zovk2vpP508rRP+CARS8f8troTn9x Qm2Eh3QTQwhxehQR5er+uSsfemhUlC7KKpTV8BsmmFee86sA8D85whO/7i9v9QIcpvH0 XyTQ== 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=vlBBM8gGG/txXqjsj4jL9uLLD6kKO7JeAlqhR+5QVFI=; b=1Kmxfbkn+FUd9vZEOeuZ5L9r9kck34B2Lm6mbMiEHE9vVDVWM4LBHYGmGv9EP0rD8i DFNYy2AnU2Gl8xd8q/t4OZRwhkAWoVuynJZWoPyPw2Detv5bh4Q/uC3wrsAVGy2kRL5U RrkWHNpp4HrsCsjsl3WHCmlhIc+GH7r4XtVJcWUuRJ7w1IK/4+2OO7Xeh0+S3IN4aTuZ dRdo4OyT/3KZK4eR3TlPBfKDi/NhW8M3JVm2upAs4jiA+Ra89yOadGInR7ey+fnK2jgy NYGPKrZ36SnilAsNVLvwtToRPp7z7gsLiOLewhZ8xgP1jBS6j++p04p1wZNaPgrZ/8VG vNnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="Rx8u/wqs"; 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 l18-20020a1709062a9200b0077ea290986fsi6952604eje.584.2022.11.07.08.07.45; Mon, 07 Nov 2022 08:08:18 -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="Rx8u/wqs"; 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 S231756AbiKGQFA (ORCPT + 99 others); Mon, 7 Nov 2022 11:05:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232467AbiKGQEy (ORCPT ); Mon, 7 Nov 2022 11:04:54 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 813EB20191 for ; Mon, 7 Nov 2022 08:04:53 -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 C024C66028EA; Mon, 7 Nov 2022 16:04:49 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667837092; bh=xD95zUNAQgJy90NkPhVmGd7rPUx4jnJPotUs0/QHgXs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rx8u/wqsxB2UekVdI46dYFJ3WyqS+vqn/6gljNuxlENp5KBaK0wPPqyp49CCDeFIR 5H120fxAWVOksFogb6bE+BBSGh0sI5FbZJc5MgFo241bJV/T37E5js25UW9d3T+fze 6h6U4ocXMaZ9Nm5Zs9af+T+oR62W4C2JCZLPA7p2AzV5dQUqO2xC8SuYKAwYW0hvAp eQtKUTalBOXgvAAasuI0uwpqBd4Ud6GFptoK2h0ms/JI0vRsc7P7f/7bVAPoD0v66T MO4lCwj7TB9G7rs1esYd0uYovddJ1g2ueO5i+gyj6VJaVxvz2QKXiChxs6R2kOGQZC jFwk+hcQOB6tA== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Jaroslav Kysela , Liam Girdwood , Matthias Brugger , Miaoqian Lin , Takashi Iwai , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 2/9] ASoC: mediatek: mt2701-wm8960: Register to module device table Date: Mon, 7 Nov 2022 11:04:30 -0500 Message-Id: <20221107160437.740353-3-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748854163549440594?= X-GMAIL-MSGID: =?utf-8?q?1748854163549440594?= 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 Reviewed-by: AngeloGioacchino Del Regno --- sound/soc/mediatek/mt2701/mt2701-wm8960.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/mediatek/mt2701/mt2701-wm8960.c b/sound/soc/mediatek/mt2701/mt2701-wm8960.c index 0cdf2ae36243..a184032c15b6 100644 --- a/sound/soc/mediatek/mt2701/mt2701-wm8960.c +++ b/sound/soc/mediatek/mt2701/mt2701-wm8960.c @@ -161,6 +161,7 @@ static const struct of_device_id mt2701_wm8960_machine_dt_match[] = { {.compatible = "mediatek,mt2701-wm8960-machine",}, {} }; +MODULE_DEVICE_TABLE(of, mt2701_wm8960_machine_dt_match); #endif static struct platform_driver mt2701_wm8960_machine = { From patchwork Mon Nov 7 16:04:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 16515 Return-Path: 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 + 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 ); 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 ; 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=?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Jaroslav Kysela , Liam Girdwood , Matthias Brugger , Miaoqian Lin , Takashi Iwai , 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748854123885640071?= X-GMAIL-MSGID: =?utf-8?q?1748854123885640071?= 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 Reviewed-by: AngeloGioacchino Del Regno --- sound/soc/mediatek/mt6797/mt6797-mt6351.c | 1 + 1 file changed, 1 insertion(+) 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 = { From patchwork Mon Nov 7 16:04:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 16516 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2143203wru; Mon, 7 Nov 2022 08:07:44 -0800 (PST) X-Google-Smtp-Source: AMsMyM4lT5bfv0x/pPWWxpbbP8KO94x/kQ3tPq+JMM66I4wjqsblZp0NkYnlQduOt1VQ6yje0KJ3 X-Received: by 2002:a05:6a00:4508:b0:56d:8afe:b7c1 with SMTP id cw8-20020a056a00450800b0056d8afeb7c1mr39680060pfb.29.1667837264046; Mon, 07 Nov 2022 08:07:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667837264; cv=none; d=google.com; s=arc-20160816; b=yj3tB//thNIUTufwaTquNp8ujafDObH7UhPy5tDl1afK7EgTmxCqbn4X23op/Eya/R AhkVISLDl+ajCTMzth9zdwK8pRL/93Pyyb+9vgKvmYdUsnLmjq/RvVYeL49sqEhDUbqB PQpRE9O4G0aXE75gb2LvOzQONrH6dpK0R1oo6MDheBcqo1jFXOGsvvj664WXyyv/2tU9 9g/sSG6BvNipzm0lcE7zpoVDw8lkyxXragWR1VudkAEFaHCJTjnQaOz2E9pu+rIKav/A ziBfMtcNUurJt0KgbAmsOBtOgoeK/9SHoou81YgsaKuqr0Vfm7Rd8/lAuqzMx7hmFYtL ph7w== 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=QP3OTi2dbSV3vbyRJGTDvDA/9zVMz4QISeysF+ih6q4=; b=BnncP9/KDxvVXVOQhm5N8IVECFi2mavku2+lYPkTYuWyFnaD2+Pr6NRKv9w61KKAEv Fv63RDXNhQgwJQl7KkqL7e4lYUL6D/OoIUuuy1igXfY6/UyLRK5TZndry7dM9FJ/iw8P VcFdESl27jQyH9S/JivbNqULf7MbCcmlEPwVi70R3slZfWmfC/WNbsUafZ5diuBXMtAu rOnyyDUFwHtnFawIhtFKWNuYdLtVpzrrcCRo9DfRSgIYwLaVyvhmP4MPCuTO3xxVTuj5 AJq3YSmp0OobB5n+lfsCGBGZgL/rlCJ3UCjnDqRPwoImv/xlEWl7GiVnZ+0/kfTARmMI SDFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Ko8MDotx; 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 c10-20020a170902aa4a00b0017f7fffb591si9385411plr.374.2022.11.07.08.07.25; Mon, 07 Nov 2022 08:07:44 -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=Ko8MDotx; 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 S232196AbiKGQFM (ORCPT + 99 others); Mon, 7 Nov 2022 11:05:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232338AbiKGQFB (ORCPT ); Mon, 7 Nov 2022 11:05:01 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D7121FFBD for ; Mon, 7 Nov 2022 08:05:00 -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 39E5666028CF; Mon, 7 Nov 2022 16:04:56 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667837099; bh=6e+FTGnofEIDKPnZbwTaHwcFF/WfbgxLV2zu73jrm6A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ko8MDotxBxiWM5iLzn6IsAs0/irCdcBDSsmMnPto0h/bDRHLRk6kjIXjNZM4J2dPh HhxNX/XTVSo4bB8c4H2LchIqFLyi1Hvz35vomiSJk6PYZwThBT1VVQsSxot0bQGfnw L793bSeigogCitsw/HGmuK1OkWMfhp+vO+kIMkd21k0AkW73CN/SDcpoDwdzQsLERQ /zbdYClYadgLzqjjYTVnwupaArcI8v9GlPql5eyyZam8hqeSLOc+FdZKSpoT4NmjcM bZKP3ckLnGiuZSiPUzn9bJ6dFgzsNypnn97MyAAP2fLskY1Rw7NfGa8iyMhQ8vAGrV idxXMVxkXdHMg== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Akihiko Odaki , Jaroslav Kysela , Jiaxin Yu , Liam Girdwood , Matthias Brugger , Miaoqian Lin , 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 4/9] ASoC: mediatek: mt8183-da7219: Register to module device table Date: Mon, 7 Nov 2022 11:04:32 -0500 Message-Id: <20221107160437.740353-5-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748854127254032154?= X-GMAIL-MSGID: =?utf-8?q?1748854127254032154?= 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-da7219-max98357.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c index 9f22d3939818..0e572fe28c58 100644 --- a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c +++ b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c @@ -842,6 +842,7 @@ static const struct of_device_id mt8183_da7219_max98357_dt_match[] = { }, {} }; +MODULE_DEVICE_TABLE(of, mt8183_da7219_max98357_dt_match); #endif static struct platform_driver mt8183_da7219_max98357_driver = { From patchwork Mon Nov 7 16:04:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 16518 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2143375wru; Mon, 7 Nov 2022 08:07:59 -0800 (PST) X-Google-Smtp-Source: AMsMyM7/qOQj4pLuAaJy8v5TFLONC7bPTagssJOuiJhCDrs706ZC5UsksfHmTkWNRsCIamdPG9lu X-Received: by 2002:a17:906:6a26:b0:7ad:975c:9785 with SMTP id qw38-20020a1709066a2600b007ad975c9785mr52274529ejc.25.1667837278970; Mon, 07 Nov 2022 08:07:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667837278; cv=none; d=google.com; s=arc-20160816; b=JzCR/UpZ1SV+jK1XiaUUzVgaWsljKZNvEbEBCtDw3b+VrrwK+PvgI2sb9o/p/TileM z8nEQffkPYJbgcESPhNGkJ6YSM4w7bdljIlc5nA25+DS6zRMa4ul+2iBsMs94SZYSpU4 PAlkmI5paPZHcol98KTa2hD2DtgUnSsO2ESltvRtlmyjTcmyLfgNJsl/2FVrOqbiz5Qm y/KQLZaMTLd0uJp1PDIj/nEuLHs/cQpt5+nET5CgV2zewralxl/25uwuxPekDpPmfOXd jq6BiCFs/LKilk9JoAzmAYIMiXIM7Kd/Z7c80AprTuPMBpjXI6RhSRkxbJi5r1M+upzH Iovw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr14-20020a170907720e00b007417040d1c5si9650757ejc.823.2022.11.07.08.07.29; Mon, 07 Nov 2022 08:07:58 -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 + 99 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?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748854142779384697?= X-GMAIL-MSGID: =?utf-8?q?1748854142779384697?= 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 Tested-by: Chen-Yu Tsai --- 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 = { From patchwork Mon Nov 7 16:04:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 16522 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2144102wru; Mon, 7 Nov 2022 08:08:57 -0800 (PST) X-Google-Smtp-Source: AMsMyM4ANk73cW2yGap6G+Ofwa+CbVFCWXmKwV27ICTHPEEaDZ2onxKMjSV2n1NaiAcnqf1UsxdX X-Received: by 2002:a17:906:591:b0:73d:c3ef:84ae with SMTP id 17-20020a170906059100b0073dc3ef84aemr48830224ejn.155.1667837337579; Mon, 07 Nov 2022 08:08:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667837337; cv=none; d=google.com; s=arc-20160816; b=YfT9bt/Q5e7wac8fe+PqfIvJWCGjP//Zn6WiFWPFZ7/yHTpKiuWfasz3LsijAjhmGd pELmgGiB8TEXwLoZFti4/bIWPafeFyxKu9KpNIP9YMfJpJPdKsdj5LgtgtruTTddcvci ZDtAzKKlVr8WqbHlttHjs/wGbCe14j1pKFgy5vWkEXuLpaAjxK1DkPe0IRg5Qmr46Kpw lZxO/QfUz6SZtVEDmKY5kwhMSNfoJsf+PhoCHY858NUXjgiORTkBWsRDM28h4NV5PCqt JQqwCo1vB30NSDk3dijeZy1/+2QmaYniADg9TPqKWmJP9/LSpg/2DK/LmfecohHUKfxG 7ICA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hk20-20020a170906c9d400b00730a4246dd0si7559616ejb.593.2022.11.07.08.08.30; Mon, 07 Nov 2022 08:08:57 -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 + 99 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?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748854203957540784?= X-GMAIL-MSGID: =?utf-8?q?1748854203957540784?= 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 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/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 = { From patchwork Mon Nov 7 16:04:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 16520 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2143965wru; Mon, 7 Nov 2022 08:08:45 -0800 (PST) X-Google-Smtp-Source: AMsMyM5vaHJUiAP/q4pV/w51oq4/4ZBGd4fsgQFZT6QtdN9+hxySdtC8KUPpnXXnBzcJFPIJ/7tX X-Received: by 2002:a63:90c7:0:b0:442:87:3a38 with SMTP id a190-20020a6390c7000000b0044200873a38mr44213192pge.216.1667837325675; Mon, 07 Nov 2022 08:08:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667837325; cv=none; d=google.com; s=arc-20160816; b=Vy/yZKmsVlUUSOKYUqKPgyXR615JaMG5DHqY9jI9ti5LeeQ1GNyDXV7khkdX56PEHm s21MsHJdmnc24M9Wx7xDoaUs8G+nLYDOrJXa4JVkTyxjLsUz4OGD1L6vuWoeFnx+OaEJ lAy4GeJHb2+gJuMyfAOJVgLLKMzjNzm0WRur+lPf66ltqHz9h4kA3GTKkr3Eq1zrp4fv FRTdTgmOKW9MLtoRt+GGLalm+QRcmXtGbf5X/9IKDbn3iVy6Rpz3z5EFsuUKPor29OO3 2ENf+h1rbZRgeaVnLwr388XP0yeEbBxvfTwYgpuRPJbjneMe8M0hJyb6DjpxaTSBDyvZ ci1A== 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=qaXy7ASsEDDlQPixtA9h8Vqb0JSzYSy8v098jeMIfeo=; b=hAy62Jk2XdEG0bCM6SVvUfAilGF7S30z9IWA1BdLO+EEZtCQVEhjw3mPlEAiZjxQSx ObnkCqCHmVCInKYhjWoTI5Xj8t9oaw3qbJiBT2Uz/PMLL8CTpnkrlT0L8QPmkEBYGSar B9/Wvt5hNXfW6piNM+ed8Ftun9NNuibzuyh3/miL/HEpDubSxaBCmLsRADJmbpQ1Sh6h cwHQQwZC87sfTWKVbkmlxbITBYY9lEaG+rKqzabaOEafucT9X7/uMpORjrXUHknrHtm+ tCXpayorHwqhD9Lb5UnDDCm6YzqxeRDHk6nU9h8ahBBJ/vAyPJ4IiM5q/0JIp6muRcDA 6VQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="LM/BCzWm"; 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 j2-20020a056a00130200b0056238741ba7si12216645pfu.174.2022.11.07.08.08.21; Mon, 07 Nov 2022 08:08:45 -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="LM/BCzWm"; 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 S232571AbiKGQFd (ORCPT + 99 others); Mon, 7 Nov 2022 11:05:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231630AbiKGQFX (ORCPT ); Mon, 7 Nov 2022 11:05:23 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8098C205FA for ; Mon, 7 Nov 2022 08:05:10 -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 8DC6E66028EA; Mon, 7 Nov 2022 16:05:06 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667837109; bh=oiakfK/KyQsyZ8dFT+n7UDDhSpuPj6+i0VVZ4ScGBTI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LM/BCzWmyL7gjkAmc0cyLFYZ1P0pS7/pjWtsKAY1HMsJpA6WgBVb+urgQitu/VU4u omJw2s0ZEPP/E2KuLjbTGPAeyC4a1FifCx5JR8Thk3ysT6DDUG3uT5w9yIMKWqOKk7 4zqVYg/4kAB0wy3FHcDuPvnVnMV80l9YN1YIgRa0BhqBS1kg5vgsVltc0sAtcvCNc7 1dvfcngzV2ySfNd9xVB2bKbAYJ/7theAvhcAEmM4UeMarPjb0Kl8YDfW4vmvZd42Ps UFTraaqOseeMJLMkS+r+jeerKMtOXvC1qNnQyAN/CQUV5BvOtDV88sXmOJ1FlmH8u6 VCzh5kLnklrlw== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Ajye Huang , 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 7/9] ASoC: mediatek: mt8186-rt5682: Register to module device table Date: Mon, 7 Nov 2022 11:04:35 -0500 Message-Id: <20221107160437.740353-8-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748854191244548039?= X-GMAIL-MSGID: =?utf-8?q?1748854191244548039?= 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 Reviewed-by: AngeloGioacchino Del Regno --- sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c b/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c index 16d834f3153d..e59d92e2afa3 100644 --- a/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c +++ b/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c @@ -1237,6 +1237,7 @@ static const struct of_device_id mt8186_mt6366_rt1019_rt5682s_dt_match[] = { }, {} }; +MODULE_DEVICE_TABLE(of, mt8186_mt6366_rt1019_rt5682s_dt_match); #endif static struct platform_driver mt8186_mt6366_rt1019_rt5682s_driver = { From patchwork Mon Nov 7 16:04:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 16526 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2144673wru; Mon, 7 Nov 2022 08:09:53 -0800 (PST) X-Google-Smtp-Source: AMsMyM7gTPv9bzyF4UZyMOde3m4P1tWvO6czItsXH7bfw1m2Xnz20Rs+V2xXAFNpYLb+lSum77rz X-Received: by 2002:a17:907:60c8:b0:78d:bc56:8f04 with SMTP id hv8-20020a17090760c800b0078dbc568f04mr47869913ejc.560.1667837392987; Mon, 07 Nov 2022 08:09:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667837392; cv=none; d=google.com; s=arc-20160816; b=sf4GM1q23hwXB4H7T9NMiZqKzqkm6SHKK8NeXkdUED1eRkLKIvZDu8SPabpJja7cvq 9XApgiSwjFqJcjzUwkrQZfifCiNwOG87hzVdzG20Z+ti7xnAmKTroXMUSFMEtNULHPNZ 0PUXEAUZO3A5g8xMxgLbeLp/p9rx4Bt7ZQSn06wvFHW3NupXJkgXI/C+fazMAWV/Oyy5 6cMjT9V7z3VUd0xc2mu5BGhD82kfZcpuH2tOcsqhqHzP3p4k88ziGx44t29M8K55uEeS YL3TFV2lJoph8GEBuRng2o4Fpz2V+Jqw1GjQmnJQd82WRq2TB8boCDYt1G3BzDiqXvxD Pt5A== 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=zth7KOlMoWhqf1aWOgLJYn15uj/RILU1/au2R5lrHlQ=; b=mNHXw2wa/YqXmwK+wmcPneC7woR2DYZVVgp+rF50PYEQkR6ydVE2nla+DUG35J2qpO 3tqbEzoc3twnTq8QXucPsl3VPdHpP+7qt8r8O1koxGepkhDiQbXzaAW7AfylnrUDJ+nC girH45Tqp5dO3jJSyEl/Cz2ZM0wJiBu37xzidB7I6yMtYniopHADmmyWzgNl4ETO+in4 EQHupoSfilvUWQEMcSGKOpBZoztfJtJ4Cf9RYk4OSRL396rfWzCmHbsuY9912WHCYW7r PV3dCDHQ7SJGx3In7Ib1nB/F0zq5rnjhqR4tEjz+IIk1RJatavRTxScpeqnVgCFCJByq xaMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RPN1eQI+; 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 mp36-20020a1709071b2400b0078e1e77f443si10250496ejc.418.2022.11.07.08.09.28; Mon, 07 Nov 2022 08:09:52 -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=RPN1eQI+; 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 S232559AbiKGQFt (ORCPT + 99 others); Mon, 7 Nov 2022 11:05:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232345AbiKGQFZ (ORCPT ); Mon, 7 Nov 2022 11:05:25 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4D592099B for ; Mon, 7 Nov 2022 08:05:14 -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 D1D266602965; Mon, 7 Nov 2022 16:05:09 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667837113; bh=oWRkrDOmNJ2dmIVe5ehfgdnkPnZtvtRMYH1LSztA4/Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RPN1eQI+7jezHkamwk1HZ83zy7ukfs4L6sTCR6xZHpu/bu1zpRls/3yENC7JX7xvR a/FoukoFapv9GKGXxmAiAF89zt6I4untu+Unf5lDZxoIbFoXqrwLV/0KYafeZOlKXx /SdtT5fK7JCl75PnyRZ+mbhOvToMtYXVoVhlRyZHBvlF5BxYDs/0fOVLCVKDzAuFPf FXkO73a5CVSewIyHYP9P8QhRLITCkE+3ZW9iKMhVI5RyPoEtksEDFMHTAEy9GvdUfI YAN9xsthNEmATiRdln1fYBhhweSTNXFiBVeF32tvUhXJT0xUbTMxuuDg36DhuGoRbc OF1/GDse4c1SA== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Akihiko Odaki , Jaroslav Kysela , Jiaxin Yu , Liam Girdwood , Matthias Brugger , Miaoqian Lin , 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 8/9] ASoC: mediatek: mt8192-mt6359: Register to module device table Date: Mon, 7 Nov 2022 11:04:36 -0500 Message-Id: <20221107160437.740353-9-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748854262252233459?= X-GMAIL-MSGID: =?utf-8?q?1748854262252233459?= 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 Reviewed-by: AngeloGioacchino Del Regno Tested-by: Chen-Yu Tsai --- sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c b/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c index b93c3237ef2d..16660eda577e 100644 --- a/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c +++ b/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c @@ -1261,6 +1261,7 @@ static const struct of_device_id mt8192_mt6359_dt_match[] = { }, {} }; +MODULE_DEVICE_TABLE(of, mt8192_mt6359_dt_match); #endif static const struct dev_pm_ops mt8192_mt6359_pm_ops = { From patchwork Mon Nov 7 16:04:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 16523 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2144178wru; Mon, 7 Nov 2022 08:09:04 -0800 (PST) X-Google-Smtp-Source: AMsMyM5KAow3rRy3Zf0y26vIrxYXoY2oQkuk/Jq/j6+skllQHXcUcpS/DbmU1Tp0RTZ0SANX0rj6 X-Received: by 2002:a17:907:ea1:b0:7a5:7e25:5b11 with SMTP id ho33-20020a1709070ea100b007a57e255b11mr805875ejc.254.1667837344039; Mon, 07 Nov 2022 08:09:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667837344; cv=none; d=google.com; s=arc-20160816; b=TB5vnC7TfFg7P+BeOhOPiFbNJVFxEZ/b2325Pfq5UmXct2Z4qSpVP3k+sLm2MwDesW JGFNsiprAFilvKwHMvn2NJmrra/wvyQVU7EbNJcaOASeUtWW8JNFXDe0niQGndDI+PPS g3/5P/oseF5C8bDi3QScQRBdvvfsVNwJheGNFi8K03+b7Kx++7F1dFlI6CEUWnXbEalC h15RKTX1R4UaVryHryEIxTxSYelyDCBVjjefKTjyoXiVP077RIppSz7fjyUCKemoRQ6h S7rJBO8bQXumyq2HTj/engy6BZYdbXVJsZaD3HV1wdcQ90Ga3NA+PwRUf3gC3/7i6Egv 2OGw== 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=OccnILZwAZ1iW7ZSQATU7VS3BdSsH1TXTafd12dSgdI=; b=ajKT5Bi9rKcCNylZ5KqVLzfUZocOSUsDzQjh64pAri6eML+Er3grxMc+15k2YbBqR4 Qgpf0VhKKeQSei066NYNOnE5rNQHMQI9rZVDqf5BYFVf3iZpmWOPfnNBHrbfeQvtRGr7 sEWkgPBdfFjoIzlrfeYW63BbVxj1EX9AUxAlDr41/5MF/Y5hkIJaipUX8K2rIhucy8qj kqlCIG5NLzGodTllNEFu8MLqamq6YRREeI7usvPrN3WoVJXUsDxBl7CMiRxsWf8wWmWT 3EcLWX4c9WInxH79cu9+1EGZ6kK5mz/Cn+Rk92v/uxNmrw+DNXHBzzY119RaZMaQThCc azfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=B2Ep22Np; 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 hc31-20020a170907169f00b007316843d58bsi11557226ejc.925.2022.11.07.08.08.35; Mon, 07 Nov 2022 08:09: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=B2Ep22Np; 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 S232181AbiKGQGO (ORCPT + 99 others); Mon, 7 Nov 2022 11:06:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232804AbiKGQF2 (ORCPT ); Mon, 7 Nov 2022 11:05:28 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 197E2209BA for ; Mon, 7 Nov 2022 08:05:17 -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 BE87566028B0; Mon, 7 Nov 2022 16:05:13 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667837116; bh=bP8o3ce5ZgXYubneNGO6GUzIYsV6S7bzhWTdLtO4yUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B2Ep22NpGLHP5/VWW983UeeWT9Jv6oVhDPstT7b4AK3Ja3Jlj2EOCivxH/eXfWbsF g44fjgHkbLkZ+MtzgHP61Pnij2w68rASg2JsrADGE9Xa9FpnDx8u1s3HPEhCtBkI1N ue0bi2D6ACxLmroy5kFfawfTY0FP0cGg2g69KMctlJfemQWrUWo3kqMQoXxsnIr357 NemKv0btLzMj3qxlMCGZlSAOvDiCGxZh2ge03bUZ5D2v+F3MIn2fRLxNNkw4O4q0dB VECXJLkTMVB0iqi6GVbFSxNbZfD76HrppGwwXgY5wWoQcmLJc34DWu6EyE5hpr1x1p hMHW+a5dqIiBg== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Jaroslav Kysela , Liam Girdwood , Matthias Brugger , Takashi Iwai , Trevor Wu , 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 9/9] ASoC: mediatek: mt8195-mt6359: Register to module device table Date: Mon, 7 Nov 2022 11:04:37 -0500 Message-Id: <20221107160437.740353-10-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748854210859889044?= X-GMAIL-MSGID: =?utf-8?q?1748854210859889044?= 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 Reviewed-by: AngeloGioacchino Del Regno Tested-by: Chen-Yu Tsai --- sound/soc/mediatek/mt8195/mt8195-mt6359.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/mediatek/mt8195/mt8195-mt6359.c b/sound/soc/mediatek/mt8195/mt8195-mt6359.c index 480ed3e08d5b..61be66f47723 100644 --- a/sound/soc/mediatek/mt8195/mt8195-mt6359.c +++ b/sound/soc/mediatek/mt8195/mt8195-mt6359.c @@ -1544,6 +1544,7 @@ static const struct of_device_id mt8195_mt6359_dt_match[] = { }, {}, }; +MODULE_DEVICE_TABLE(of, mt8195_mt6359_dt_match); static struct platform_driver mt8195_mt6359_driver = { .driver = {