[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YYuKA+cZbyCAAhqA@pendragon.ideasonboard.com>
Date:   Wed, 10 Nov 2021 10:59:47 +0200
From:   Laurent Pinchart <laurent.pinchart@...asonboard.com>
To:     Nishanth Menon <nm@...com>
Cc:     Boris Brezillon <bbrezillon@...nel.org>,
        Daniel Vetter <daniel@...ll.ch>,
        Neil Armstrong <narmstrong@...libre.com>,
        Tomi Valkeinen <tomba@...nel.org>,
        linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
        linux-arm-kernel@...ts.infradead.org, nikhil.nd@...com,
        r-ravikumar@...com, Milind Parab <mparab@...ence.com>
Subject: Re: [PATCH] drm/bridge: cdns-dsi: Make sure to to create proper
 aliases for dt
Hi Nishanth,
Thank you for the patch, and sorry for the late reply.
On Tue, Nov 09, 2021 at 08:55:38AM -0600, Nishanth Menon wrote:
> On 12:40-20210921, Nishanth Menon wrote:
> > 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@...com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@...asonboard.com>
> > ---
> >  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 d8a15c459b42..829e1a144656 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,
-- 
Regards,
Laurent Pinchart
Powered by blists - more mailing lists