lkml.org 
[lkml]   [2022]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.4 193/475] drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt
    Date
    From: Nishanth Menon <nm@ti.com>

    [ 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: e19233955d9e ("drm/bridge: Add Cadence DSI driver")
    Signed-off-by: Nishanth Menon <nm@ti.com>
    Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20210921174059.17946-1-nm@ti.com
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/gpu/drm/bridge/cdns-dsi.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/gpu/drm/bridge/cdns-dsi.c b/drivers/gpu/drm/bridge/cdns-dsi.c
    index 0cb9dd6986ec..9c3f9110895e 100644
    --- a/drivers/gpu/drm/bridge/cdns-dsi.c
    +++ b/drivers/gpu/drm/bridge/cdns-dsi.c
    @@ -1284,6 +1284,7 @@ static const struct of_device_id cdns_dsi_of_match[] = {
    { .compatible = "cdns,dsi" },
    { },
    };
    +MODULE_DEVICE_TABLE(of, cdns_dsi_of_match);

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


    \
     
     \ /
      Last update: 2022-04-14 16:35    [W:2.568 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site