From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 34581ECE582 for ; Tue, 10 Sep 2024 17:25:05 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8C6D2B65; Tue, 10 Sep 2024 19:24:53 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8C6D2B65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1725989103; bh=UwzWWmAIpz/ajbTwiMwI7DKpHn4myn5KjbthwRGxsb8=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=Z7nZBn/oTXgv8PLPjbDrukS5yzSE/ZkMwbyMtdTbDkf5rGodBfrLlJagjEJNDBOO+ CuGYahM35imJScnwhAa/iH2PfABWYhI6QUZKTF28wRYm62QSZxv2itJJfay+Ti0vS1 E294lRr5z4p/qfmY2efJWtGvYJ07ZKhp5U2atk2M= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 67CE8F8060A; Tue, 10 Sep 2024 19:24:18 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 1E5BCF8058C; Tue, 10 Sep 2024 19:24:18 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 70AFBF80272; Tue, 10 Sep 2024 19:24:13 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B0389F8019B for ; Tue, 10 Sep 2024 19:24:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B0389F8019B Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=SmYVYFh/ Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id A46825C0347; Tue, 10 Sep 2024 17:24:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB353C4CEC3; Tue, 10 Sep 2024 17:24:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725989049; bh=UwzWWmAIpz/ajbTwiMwI7DKpHn4myn5KjbthwRGxsb8=; h=From:To:Cc:Subject:Date:From; b=SmYVYFh/j8PPXLLuo2jAZS39SRRnEi6h2JOj375FwhXQOB7kzftD7IXTtRMw7Bz0v HIS9Sl/KQHcNghrS25PFfPzt4CY+OTDQnMb32vHqw+C1iKjoXA360McVNPWpEWSVpD 5jNRP0Vov4MKetkWgxhNyac6UhJbR+/zZJ5RlqhnUMw0QOfVqG6RxSSlpAr5vFORqq GMt42VqDksb5QfWOV7MiKlwoUK7f1IBLlyGDXtIzHhKhQEvrsbGMw9uo+jjJpuRJSy T7zysWyX834H/jMEBPk+dMNZCth+RAuDUPLAHfFt2vMa273Ymx2cQWDeulilxKwkgN wKpISQmyk/f+w== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Liao Chen , Mark Brown , Sasha Levin , cezary.rojewski@intel.com, pierre-louis.bossart@linux.intel.com, liam.r.girdwood@linux.intel.com, peter.ujfalusi@linux.intel.com, yung-chuan.liao@linux.intel.com, ranjani.sridharan@linux.intel.com, kai.vehmanen@linux.intel.com, perex@perex.cz, tiwai@suse.com, kuninori.morimoto.gx@renesas.com, robh@kernel.org, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org Subject: [PATCH AUTOSEL 5.10 1/4] ASoC: intel: fix module autoloading Date: Tue, 10 Sep 2024 13:24:00 -0400 Message-ID: <20240910172406.2416588-1-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.10.225 Content-Transfer-Encoding: 8bit Message-ID-Hash: DYEPWTIMQ5WEQNDPDHG3BDS3JK7LPCS2 X-Message-ID-Hash: DYEPWTIMQ5WEQNDPDHG3BDS3JK7LPCS2 X-MailFrom: sashal@kernel.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Liao Chen [ Upstream commit ae61a3391088d29aa8605c9f2db84295ab993a49 ] Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen Link: https://patch.msgid.link/20240826084924.368387-2-liaochen4@huawei.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/keembay/kmb_platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/intel/keembay/kmb_platform.c b/sound/soc/intel/keembay/kmb_platform.c index 291a686568c2..c7b754034d24 100644 --- a/sound/soc/intel/keembay/kmb_platform.c +++ b/sound/soc/intel/keembay/kmb_platform.c @@ -634,6 +634,7 @@ static const struct of_device_id kmb_plat_of_match[] = { { .compatible = "intel,keembay-tdm", .data = &intel_kmb_tdm_dai}, {} }; +MODULE_DEVICE_TABLE(of, kmb_plat_of_match); static int kmb_plat_dai_probe(struct platform_device *pdev) { -- 2.43.0