From patchwork Mon Nov 7 16:04:31 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: 622263 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 702B9C433FE for ; Mon, 7 Nov 2022 16:06:35 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 956FF82C; Mon, 7 Nov 2022 17:05:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 956FF82C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1667837193; bh=kyJUl4AIfO/bUHE12xVqYeJlBk+GtcwnhEWyl6Ffr50=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=mcbZzdy4ZnpYp7ERsuzFS+boKs4Lx9LvTU7rf5cVZQXNmonnuY8aDTEZMviaEARRb DUScl/uuPaRLC/juHtqa8V1P7OOvOfyOuIyQ8S+s5cgnT7I+TgTEgJlS2VSYLsgAGD QlSbEiI4fkyBDb/+9GQY2qDuHiCXvjQOqZEW1Q+8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id ECF12F80567; Mon, 7 Nov 2022 17:05:05 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 91FC7F80567; Mon, 7 Nov 2022 17:05:04 +0100 (CET) Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3D0ABF8052E for ; Mon, 7 Nov 2022 17:04:56 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3D0ABF8052E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="IOE585/b" 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 BF4CD66028B1; Mon, 7 Nov 2022 16:04:52 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667837095; bh=kyJUl4AIfO/bUHE12xVqYeJlBk+GtcwnhEWyl6Ffr50=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IOE585/bBs1Urpz+7wizZVDFh28yo+XQgY1LV95IGy7snk4vB2ayP4Kr9Qgip953p 1x7+QGeKcKehO/RwmLvWCDGRyfXAhP4RWK0oNu19trya1DW8OXRZTfRn+10yEhd+d0 ePdN1Zh74GiBYHnBcHACyueDl5acGdC7SgE4yMfc0k3kJgWmqfdfqbdpyXout9aWxu ZGJMjfGkvvoIZ7FNxcvQ9Q36MseW9Mo4pHfTrKeuQaL69darwdw/27znC0zRJBMvIc Pny7MhxqMz4oV3uBz7U+9VqdKgcrVxCbtTYEtwh+zXeH+JUHRogTzXCXkwcnIPOtF2 mR5GPYij1YTgA== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Subject: [PATCH 3/9] ASoC: mediatek: mt6797-mt6351: Register to module device table Date: Mon, 7 Nov 2022 11:04:31 -0500 Message-Id: <20221107160437.740353-4-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 Cc: alsa-devel@alsa-project.org, Miaoqian Lin , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , linux-mediatek@lists.infradead.org, Matthias Brugger , kernel@collabora.com, linux-arm-kernel@lists.infradead.org, AngeloGioacchino Del Regno X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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/mt6797/mt6797-mt6351.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/mediatek/mt6797/mt6797-mt6351.c b/sound/soc/mediatek/mt6797/mt6797-mt6351.c index d2f6213a6bfc..784c201b8fd4 100644 --- a/sound/soc/mediatek/mt6797/mt6797-mt6351.c +++ b/sound/soc/mediatek/mt6797/mt6797-mt6351.c @@ -242,6 +242,7 @@ static const struct of_device_id mt6797_mt6351_dt_match[] = { {.compatible = "mediatek,mt6797-mt6351-sound",}, {} }; +MODULE_DEVICE_TABLE(of, mt6797_mt6351_dt_match); #endif static struct platform_driver mt6797_mt6351_driver = {