Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a65ebb3a authored by Nishanth Menon's avatar Nishanth Menon Committed by Greg Kroah-Hartman
Browse files

drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt



[ Upstream commit ffb5c099aaa13ab7f73c29ea6ae26bce8d7575ae ]

Add MODULE_DEVICE_TABLE to the device tree table to create required
aliases needed for module to be loaded with device tree based platform.

Fixes: e1923395 ("drm/bridge: Add Cadence DSI driver")
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Reviewed-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210921174059.17946-1-nm@ti.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 15b8233f
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1604,6 +1604,7 @@ static const struct of_device_id cdns_dsi_of_match[] = {
	{ .compatible = "cdns,dsi" },
	{ .compatible = "cdns,dsi" },
	{ },
	{ },
};
};
MODULE_DEVICE_TABLE(of, cdns_dsi_of_match);


static struct platform_driver cdns_dsi_platform_driver = {
static struct platform_driver cdns_dsi_platform_driver = {
	.probe  = cdns_dsi_drm_probe,
	.probe  = cdns_dsi_drm_probe,