Message ID | 20230216130021.64875-5-angelogioacchino.delregno@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp286354wrn; Thu, 16 Feb 2023 05:02:20 -0800 (PST) X-Google-Smtp-Source: AK7set8Zu4+6TzE+nYQVF0AOHomukwipL/SSw0hDGpGObr5pJzuIYhWIJuRc2kKb3SQ/XsjK0d2R X-Received: by 2002:a17:906:e253:b0:8a9:e031:c4ae with SMTP id gq19-20020a170906e25300b008a9e031c4aemr6028041ejb.2.1676552540145; Thu, 16 Feb 2023 05:02:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676552540; cv=none; d=google.com; s=arc-20160816; b=tbELRqaxA9vkL/7gQJIko42WUrD1izwuOitzP020mJCczj2Ar7H2g0Fz/uoO/BCsdS 2F9Wb7Sd7isG8Spx1O3ylB9i6AJG/ZxZoW5t5bN2I6EIzzYAxGJlHwDcHnqven0+ZzUz l2mjQEYmxVZSzT8/v/A4SuWNK1w6ea1lmNO02o1EUi5XHnAy3elC5bkTlqBR+vNwE/2G 7MO9GFQO2MiSFFwx41LMQv4kqXRkejrit8fQEYiYudFZ4iLlJz+Q35NPZVO6dwlIc3mV pAHCmwglg6PGtPu2V8jqAlm4IgxTzMncHlIY/E8PBR6dCJ2dxviO6libv6w26uH6c1DX MKQg== 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=qsSyYq+Qss+zPdIWKLya3SqY04aSJtbQX7OYAHoLry0=; b=UggIgo4OL+JsH1hLmlFE14Qpvifj7Z/3e6fQ6Rdep699aFNObxolKwEeSdu1g2DFST U9lLX/9e817zDQh1q3EniR4rcXYLivskay/BjUzKmmjc+e+vOWeOU2HfFpumZZ2w30ox 38WyAmyBjL4s/ZZsL+cCTuvS5/N9DDupdsWYkbJh6vAR0EJEb0nUdWYZsLpPiYTONUIg /C5n4b0+CwvSPCAEvDzw3FbBXDmyfVs5VdtNrDJbJVPZ3STLrq94Hxo5T1GNiEcT4nzo FIsE0Q5nTyupnIO8/GLjVYyRaDwqfJ5mo/hcuGkf4P2THzRhnnzntQcQhkWEHAGEKDsw agQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="Xr36F/Pt"; 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=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 26-20020a170906029a00b008b13d11e473si1000571ejf.538.2023.02.16.05.01.54; Thu, 16 Feb 2023 05:02:20 -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="Xr36F/Pt"; 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=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229956AbjBPNAl (ORCPT <rfc822;aimixsaka@gmail.com> + 99 others); Thu, 16 Feb 2023 08:00:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229731AbjBPNAb (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 16 Feb 2023 08:00:31 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B86483D093 for <linux-kernel@vger.kernel.org>; Thu, 16 Feb 2023 05:00:30 -0800 (PST) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (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: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id F37D566021AA; Thu, 16 Feb 2023 13:00:28 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676552429; bh=8zBu4kGYwwp9PXGSRlrzgSAywExWb3oFBHKR72jcTw0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xr36F/PtZtNxk+3TKAnY6WohFo7esdaFOj+uKoSq4m0fm9cN2bEIWFzNyhL1qpRhB FEEYxUt/sY0ExU9aaXsBhoHuPIkx7mJxRbg+gzTi8S9l56dboeYCOtbOq8ZnFK99l3 KSR1R0CVczWzT6tEttlSPgxt+qUjbFkS9FEIhmkt0tCIA7DFwJY0Q8gAqGYr+Uuuts gLwWiYgjHcMB0srvKpJ9aWitgyxorXcVuASvJQvvpXI0aveDlmTzeh+xD6SljLdr2M tEW5zorsP7kULKmkbPmP0mkZBcM8C6PRvcXWlpnwlznW8h2sQmcCTl0iE7kUCHhvCx uD0U1Igch7K4Q== From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: matthias.bgg@gmail.com Cc: jason-jh.lin@mediatek.com, chunkuang.hu@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Subject: [PATCH v1 4/9] soc: mediatek: mtk-mmsys: Add MODULE_DEVICE_TABLE() to allow auto-load Date: Thu, 16 Feb 2023 14:00:16 +0100 Message-Id: <20230216130021.64875-5-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216130021.64875-1-angelogioacchino.delregno@collabora.com> References: <20230216130021.64875-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757992755851739813?= X-GMAIL-MSGID: =?utf-8?q?1757992755851739813?= |
Series |
soc/mediatek: Cleanup mmsys, mutex, cmdq header
|
|
Commit Message
AngeloGioacchino Del Regno
Feb. 16, 2023, 1 p.m. UTC
Allow module auto-loading by adding a MODULE_DEVICE_TABLE for
of_match_mmsys.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
drivers/soc/mediatek/mtk-mmsys.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Thu, Feb 16, 2023 at 9:01 PM AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> wrote: > > Allow module auto-loading by adding a MODULE_DEVICE_TABLE for > of_match_mmsys. > > Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
diff --git a/drivers/soc/mediatek/mtk-mmsys.c b/drivers/soc/mediatek/mtk-mmsys.c index fcf702fda92e..0f0fa27e17a5 100644 --- a/drivers/soc/mediatek/mtk-mmsys.c +++ b/drivers/soc/mediatek/mtk-mmsys.c @@ -391,6 +391,7 @@ static const struct of_device_id of_match_mtk_mmsys[] = { { .compatible = "mediatek,mt8365-mmsys", .data = &mt8365_mmsys_driver_data }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, of_match_mtk_mmsys); static struct platform_driver mtk_mmsys_drv = { .driver = {