[PATCH v2 2/3] dma/ti: convert k3-udma to module
Corentin Labbe
clabbe.montjoie at gmail.com
Wed Sep 28 07:59:56 PDT 2022
Le Tue, Sep 27, 2022 at 04:08:03PM -0700, Kevin Hilman a écrit :
> Currently k3-udma driver is built as separate platform drivers with a
> shared probe and identical code path, just differnet platform data.
>
> To enable to build as module, convert the separate platform driver
> into a single module_platform_driver with the data selection done via
> compatible string and of_match. The separate of_match tables are also
> combined into a single table to avoid the multiple calls to
> of_match_node()
>
> Since all modern TI platforms using this are DT enabled, the removal
> of separate platform_drivers shoul should nave no functional change.
>
Hello
You have some typo in last sentence. (extra shoul, nave->have)
Regards
More information about the linux-arm-kernel
mailing list