From: Liao Chen <liaochen4@huawei.com>
To: <dri-devel@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>,
<linux-tegra@vger.kernel.org>
Cc: <andrzej.hajda@intel.com>, <neil.armstrong@linaro.org>,
<rfoss@kernel.org>, <Laurent.pinchart@ideasonboard.com>,
<jonas@kwiboo.se>, <jernej.skrabec@gmail.com>,
<maarten.lankhorst@linux.intel.com>, <mripard@kernel.org>,
<tzimmermann@suse.de>, <airlied@gmail.com>, <daniel@ffwll.ch>,
<linus.walleij@linaro.org>, <thierry.reding@gmail.com>,
<mperttunen@nvidia.com>, <jonathanh@nvidia.com>,
<liaochen4@huawei.com>
Subject: [PATCH -next 2/3] drm/tegra: Enable module autoloading
Date: Mon, 2 Sep 2024 11:33:19 +0000 [thread overview]
Message-ID: <20240902113320.903147-3-liaochen4@huawei.com> (raw)
In-Reply-To: <20240902113320.903147-1-liaochen4@huawei.com>
Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based
on the alias from of_device_id table.
Signed-off-by: Liao Chen <liaochen4@huawei.com>
---
drivers/gpu/drm/tegra/drm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra/drm.c
index 03d1c76aec2d..1a12f2eaad86 100644
--- a/drivers/gpu/drm/tegra/drm.c
+++ b/drivers/gpu/drm/tegra/drm.c
@@ -1390,6 +1390,7 @@ static const struct of_device_id host1x_drm_subdevs[] = {
{ .compatible = "nvidia,tegra234-nvdec", },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, host1x_drm_subdevs);
static struct host1x_driver host1x_drm_driver = {
.driver = {
--
2.34.1
next prev parent reply other threads:[~2024-09-02 11:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-02 11:33 [PATCH -next 0/3] drm: " Liao Chen
2024-09-02 11:33 ` [PATCH -next 1/3] drm/bridge: it6505: " Liao Chen
2024-09-13 7:45 ` neil.armstrong
2024-09-02 11:33 ` Liao Chen [this message]
2024-09-23 4:21 ` [PATCH -next 2/3] drm/tegra: " Dmitry Baryshkov
2024-09-25 13:45 ` Thierry Reding
2024-09-02 11:33 ` [PATCH -next 3/3] drm/mcde: " Liao Chen
2024-09-02 12:39 ` Linus Walleij
2024-10-21 12:59 ` (subset) [PATCH -next 0/3] drm: " Neil Armstrong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240902113320.903147-3-liaochen4@huawei.com \
--to=liaochen4@huawei.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=andrzej.hajda@intel.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=jonathanh@nvidia.com \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mperttunen@nvidia.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=rfoss@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®