From patchwork Fri Nov 4 21:24:07 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: 15804 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp650584wru; Fri, 4 Nov 2022 14:37:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4ZQMc7dcahRHKZuHWcLSa7fW34VbX9v7mcpN6A0Ateutp5q9kPrvB1upkvE5kvFFFl7XQO X-Received: by 2002:a17:907:744:b0:741:36b9:d2cc with SMTP id xc4-20020a170907074400b0074136b9d2ccmr35375157ejb.613.1667597854009; Fri, 04 Nov 2022 14:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667597854; cv=none; d=google.com; s=arc-20160816; b=wshUmqnacuptWXdScZdDdQ4Lmn3gZ19fsOc2uVOYMvzZnxdPVuihzmaXko1gBEgXK5 wAp5J8kLq6iJtcnSsA9cuCXqw/ZI96GeKnFEvE1N/3DAEQasS5BBDjDjXk3aTohrYl1B keWIN5/3/evsLGPYuiis8tDnWn+9GVJugsQcNNfVTKhcaAu0MOzstjER8fRnvT+ptl9o JhpmL/FZdohgCJaPh2roPzGEOK02n5F+JmG4f31x/tQLYP9C30Vxxs75zgg+5+VPaJLX irTGBgaXh9LPzt/xsUAv9jTWJLUuwINumRKtbVeF3uDaFBAj6XPqAVqxqYyD3S1/Nex0 KItA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=8fou4J33orvJPRJZJVv3MZe6syB9YzcftMX35Qce/P0=; b=stHoyrtsS8Rq2ZV3kuFS9/cA5B66+2JtXnQwmQjvLOndcOKV6MXaSMUWmYdgxdZkzB XvF6N/GDFbwGoJhR9RnZjJeMxACJr6G2iZLIgf8WJA3gpCo5AxPjl56gBTdYEwGQg1Qo y086ZAd0zVUIuQfDU3+HritgoWWvbjFZdh21ec6wKs0FnAX6sQACk0s8F3YynAqLAE53 vYp+V6JfLRmvbuMUJRxITsGhmTfBxmoB/nkNnArakuC1eadV5BH7uCF7L88Wypoj32A9 9mhQbZ3e34cuNUXx3iVJjkFxjeoXQ9o/MkEg6pVQtB1/0Lkx3eke+4sQhj5djHFgxavz B9ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=AsC3JSUi; 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 nb34-20020a1709071ca200b007827639faffsi106374ejc.760.2022.11.04.14.37.05; Fri, 04 Nov 2022 14:37:33 -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=AsC3JSUi; 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 S229608AbiKDVYW (ORCPT + 99 others); Fri, 4 Nov 2022 17:24:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbiKDVYV (ORCPT ); Fri, 4 Nov 2022 17:24:21 -0400 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 163B84299F for ; Fri, 4 Nov 2022 14:24:18 -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 26FFB660298A; Fri, 4 Nov 2022 21:24:13 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667597055; bh=uuFnxcWfl5++HD7bZPixLE+GB/VdJsnKSziUJa+HwpM=; h=From:To:Cc:Subject:Date:From; b=AsC3JSUiy8ATScgoKbobipTzEIeVkpxY7awI94quhKG+i4VkQevrmJCg0ey1kG/IN QTs735SZ3cltlzwM/HEzsg/9w3ZdTHdTN61DXBO979AxB2d3i1+vsVzhTZTCxnHu8d ipqJXY4mOx+wj5VEo/wJhMlRQcEmE3kbXR7wf1Mmu8KGsediEn6OEPv7tZYXBwwuuQ s3g12ZKk6E/nFdG4bfdH+Wn4i+t6gA7P0BzSliCwDxys5vhmYN6Jb5muyTGIZA1wZb 5qmi/tb066woqT/IN8Rde7vKYYYARokJu4jJBKt1LGtY2SHzkwU0kyRe9trcKWXVzw jcwbOsIOvNttA== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: kernel@collabora.com, AngeloGioacchino Del Regno , =?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 1/2] ASoC: mediatek: mt8183-da7219: Register to module device table Date: Fri, 4 Nov 2022 17:24:07 -0400 Message-Id: <20221104212409.603970-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 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?1748603087550852571?= X-GMAIL-MSGID: =?utf-8?q?1748603087550852571?= 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/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 Fri Nov 4 21:24:08 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: 15806 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp650927wru; Fri, 4 Nov 2022 14:38:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5rKkTDNKWHjEAGhrLRUpsVGnYotyPunuEvGUUlo4Bl2JCvgGlF5dZ5E/N5O+eTyE0QWtXD X-Received: by 2002:aa7:d650:0:b0:462:d945:3801 with SMTP id v16-20020aa7d650000000b00462d9453801mr37792758edr.117.1667597892693; Fri, 04 Nov 2022 14:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667597892; cv=none; d=google.com; s=arc-20160816; b=SMJ/xy6TkFWb8UGa+TUW+fR5lPfkRgArGCL5jaRe6HEiQnUZrtcMZpOt3b6CmnZUVc /gmj3PTvqGtFvqDQbg+HMvRhHs5LzRZWeriJhnc3BoQioTANjZYhxor87r+HR/aYFC7C +869bNvHN2opQ+r5eLx/5kargYj+fcRsQjeqDqBCovwkxzVdTPHOnJrlOnzn1zHzvuju veQJfESYJVO39tqwZAIe3+kXUjOQLNFGsi9AICh4hjHSHm2hCWV6fgu3V8dtsKg0F5vq mCC/k9p1oUqz1j4LwWw0VTYAEEemJEbntbfTKxgxJ/JITB6KZ02h961KgThoQLIDeOWq dvVg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc10-20020a1709071c0a00b0078d20d71475si140345ejc.413.2022.11.04.14.37.49; Fri, 04 Nov 2022 14:38:12 -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 + 99 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?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: kernel@collabora.com, AngeloGioacchino Del Regno , =?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 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 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?1748603127890366622?= X-GMAIL-MSGID: =?utf-8?q?1748603127890366622?= 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/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 = {