Re: [PATCH V5] dmaengine: Loongson1: Add Loongson1 dmaengine driver

From: Vinod Koul
Date: Sat Jul 17 2021 - 10:40:05 EST


On 17-07-21, 18:57, Kelvin Cheung wrote:
> Vinod Koul <vkoul@xxxxxxxxxx> 于2021年7月14日周三 下午1:14写道:
> >
> > On 04-07-21, 23:33, Keguang Zhang wrote:
> >
> > > +static struct platform_driver ls1x_dma_driver = {
> > > + .probe = ls1x_dma_probe,
> > > + .remove = ls1x_dma_remove,
> > > + .driver = {
> > > + .name = "ls1x-dma",
> > > + },
> > > +};
> > > +
> > > +module_platform_driver(ls1x_dma_driver);
> >
> > so my comment was left unanswered, who creates this device!
>
> Sorry!
> This patch will create the device: https://patchwork.kernel.org/patch/12281691

Greg, looks like the above patch creates platform devices in mips, is
that the right way..?

--
~Vinod