Skip to content

Commit

Permalink
drm: ingenic-drm: add MODULE_DEVICE_TABLE
Browse files Browse the repository at this point in the history
so that the driver can load by matching the device tree
if compiled as module.

Cc: [email protected] # v5.3+
Fixes: 90b86fc ("DRM: Add KMS driver for the Ingenic JZ47xx SoCs")
Signed-off-by: H. Nikolaus Schaller <[email protected]>
Signed-off-by: Paul Cercueil <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/1694a29b7a3449b6b662cec33d1b33f2ee0b174a.1588574111.git.hns@goldelico.com
  • Loading branch information
goldelico authored and pcercuei committed May 4, 2020
1 parent c3e2850 commit c59359a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/ingenic/ingenic-drm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit c59359a

Please sign in to comment.