Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2007799rwb; Mon, 7 Nov 2022 08:08:53 -0800 (PST) X-Google-Smtp-Source: AMsMyM7fNVoXY+75NllUI7yW+HVwDq70u3W1MqD5muN2G/X9ZJ5xbTrhvh6s/2uahwVIIfocXX3m X-Received: by 2002:a05:6402:344:b0:461:7d4:9c9 with SMTP id r4-20020a056402034400b0046107d409c9mr52203266edw.141.1667837333578; Mon, 07 Nov 2022 08:08:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667837333; cv=none; d=google.com; s=arc-20160816; b=DPGg7W+YHEPN3/gE2AH6aIJ+6j9CjHQxqWsRtHOAb+20HN9eTAQj2qne8mYgfaAnJo V0hke1Zu1Q+1SQGQhIVr9cEJmjIQDLfospk+F8hqz935/5WSin/OC4G6mJqk/yTGZjRW awIkvYucCm0+W+xMGNXKMnY2ia+rl/12xdRf3SxXalAym21I6Hg0yyLSPavwkmOSOXEo QklWte81wmWkcgo3zyEOJZ0V2pMpWVnHmcDGn/VJje/gkZKfG/t1T7rHaBYOGD7KabaJ ZiTHxe8qCYa2xmGKw6/WFoHtGnyQ+clyOSHhaplUbZE2I34lWBHTs/BhbgVPtOex4v/I tcgw== 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 Return-Path: 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.08.28; Mon, 07 Nov 2022 08:08:53 -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 + 92 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?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 , 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 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-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 = { -- 2.38.1