From patchwork Mon Aug 26 08:49:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liao Chen X-Patchwork-Id: 13777433 Received: from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73E8013D630; Mon, 26 Aug 2024 08:57:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.35 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724662661; cv=none; b=S9XG/A9agPvNSYOR5hCrq1/bJAx3mqSL6iHiCcA3ioJQe3QA11jiLSowgJzIU7mSlxeWUEdCF7+twowPdQtPru+tVuT++Zw9yHSqRm1WqRE1Tb0UhGU1LOyeaEOY9BIVCOlRd8EDYE5MDRXEaL+DCmwQ4tHaMRv21rmqFIpMqoc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724662661; c=relaxed/simple; bh=5POpXNON5NQRXTjqqdtKhe5QaC0FzuhkdRz7WSB7mH4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=b54kpR92hIT5qe5LfityihpGe+MhOgIY9+b9bU4xr4efcIosaYZOTqE7wo6wn/ISq9FQbAyH6GRzSuMCSzSCdj1tmVF3D/wG/u+SvuAoR+F8o0slZurgXbuoj1JzsWQkapIr3Fi2On89X3j8JwZwVFnEX/YF6fDemRbW3D5t/74= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.35 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.162.112]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4Wsl1L2MjWz1S8wj; Mon, 26 Aug 2024 16:57:26 +0800 (CST) Received: from dggpemm500020.china.huawei.com (unknown [7.185.36.49]) by mail.maildlp.com (Postfix) with ESMTPS id 8AF30140120; Mon, 26 Aug 2024 16:57:35 +0800 (CST) Received: from huawei.com (10.67.174.77) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 26 Aug 2024 16:57:35 +0800 From: Liao Chen To: , , CC: , , , , , , , , , , , , , , Subject: [PATCH -next 1/4] ASoC: intel: fix module autoloading Date: Mon, 26 Aug 2024 08:49:21 +0000 Message-ID: <20240826084924.368387-2-liaochen4@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240826084924.368387-1-liaochen4@huawei.com> References: <20240826084924.368387-1-liaochen4@huawei.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500020.china.huawei.com (7.185.36.49) Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen --- 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 37ea2e1d2e92..aa5de167e790 100644 --- a/sound/soc/intel/keembay/kmb_platform.c +++ b/sound/soc/intel/keembay/kmb_platform.c @@ -814,6 +814,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) {