Re: [PATCH 01/15] PCI: pci-dra7xx: Prepare for deferred probe with module_platform_driver
From: Tony Lindgren <tony@atomide.com>
Date: 2021-01-28 08:55:52
Also in:
linux-omap, linux-pci
From: Tony Lindgren <tony@atomide.com>
Date: 2021-01-28 08:55:52
Also in:
linux-omap, linux-pci
Hi, * Tony Lindgren [off-list ref] [210126 12:41]:
After updating pci-dra7xx driver to probe with ti-sysc and genpd, I noticed that dra7xx_pcie_probe() would not run if a power-domains property was configured for the interconnect target module. Turns out that module_platform_driver_probe uses platform_driver_probe(), while module_platform_driver_probe uses platform_driver_register().
I just noticed that the above is confusing with module_platform_driver_probe mentioned twice. It should be: Turns out that module_platform_driver_probe uses platform_driver_probe(), while builtin_platform_driver uses platform_driver_register(). Regards, Tony