projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3e2850
)
drm: ingenic-drm: add MODULE_DEVICE_TABLE
author
H. Nikolaus Schaller
<hns@goldelico.com>
Mon, 4 May 2020 06:35:12 +0000
(08:35 +0200)
committer
Paul Cercueil
<paul@crapouillou.net>
Mon, 4 May 2020 10:12:32 +0000
(12:12 +0200)
so that the driver can load by matching the device tree
if compiled as module.
Cc: stable@vger.kernel.org # v5.3+
Fixes: 90b86fcc47b4 ("DRM: Add KMS driver for the Ingenic JZ47xx SoCs")
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link:
https://patchwork.freedesktop.org/patch/msgid/1694a29b7a3449b6b662cec33d1b33f2ee0b174a.1588574111.git.hns@goldelico.com
drivers/gpu/drm/ingenic/ingenic-drm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/ingenic/ingenic-drm.c
b/drivers/gpu/drm/ingenic/ingenic-drm.c
index 9dfe7cb530e1184c5d158c12622bcd5242dd1fa7..1754c054706906f6a419923b3e239f27aa8a4328 100644
(file)
--- a/
drivers/gpu/drm/ingenic/ingenic-drm.c
+++ b/
drivers/gpu/drm/ingenic/ingenic-drm.c
@@
-843,6
+843,7
@@
static const struct of_device_id ingenic_drm_of_match[] = {
{ .compatible = "ingenic,jz4770-lcd", .data = &jz4770_soc_info },
{ /* sentinel */ },
};
+MODULE_DEVICE_TABLE(of, ingenic_drm_of_match);
static struct platform_driver ingenic_drm_driver = {
.driver = {