projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5713da
)
drm/bridge: lt9611: Add missing MODULE_DEVICE_TABLE
author
Zou Wei
<zou_wei@huawei.com>
Wed, 12 May 2021 06:45:55 +0000
(14:45 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 07:44:39 +0000
(09:44 +0200)
[ Upstream commit
8d0b1fe81e18eb66a2d4406386760795fe0d77d9
]
This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/1620801955-19188-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/bridge/lontium-lt9611.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/bridge/lontium-lt9611.c
b/drivers/gpu/drm/bridge/lontium-lt9611.c
index
d734d94
..
c192615
100644
(file)
--- a/
drivers/gpu/drm/bridge/lontium-lt9611.c
+++ b/
drivers/gpu/drm/bridge/lontium-lt9611.c
@@
-1209,6
+1209,7
@@
static struct i2c_device_id lt9611_id[] = {
{ "lontium,lt9611", 0 },
{}
};
+MODULE_DEVICE_TABLE(i2c, lt9611_id);
static const struct of_device_id lt9611_match_table[] = {
{ .compatible = "lontium,lt9611" },