Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2042660rwb; Mon, 7 Nov 2022 08:30:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf59p5radJylgl3haIFHYTM0KAr+yLnKS7XrRv7czKPZU4opp0bbqu+DOYld3d4DvhEYPn+E X-Received: by 2002:a17:903:11c8:b0:188:8118:177d with SMTP id q8-20020a17090311c800b001888118177dmr6149198plh.72.1667838633172; Mon, 07 Nov 2022 08:30:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667838633; cv=none; d=google.com; s=arc-20160816; b=mSsGNCk2BYDhQ3zwEm7TPAAhcn5b6U5mc6hKhaUMvxbaClvmRmPbacPrMSG+b3plkY pkaJxW/4/lNwf+/9q7FI001ZANmrmARGQvitThUNPB9HEPu2L0epMA8XZC6oe1eoNJvT rdczH20hI55zAU9YktGUqzWdu6fTicdX4F5nIbUa/94BJ6fiE+IN1RgkhrqE2DO5CslS D7cM4YGg9PjOJWL8EshZ8p610P5Rr3nqETgxPPORGFLzxRZhGZOR/FPThw8P55yyVKxv beJYowD37wWZZN2Hcy3s4DxR8qZV+D5TdrPw7pR7HdMOo+d2sOcE0JOR7UsRbPDtLpnR hPHA== 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 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.20; Mon, 07 Nov 2022 08:30:33 -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 + 92 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?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 , 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 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/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 = { -- 2.38.1