[PATCH 5/8] MXS: Add USB PHY driver
Arnd Bergmann
arnd at arndb.de
Thu Apr 19 07:40:01 EDT 2012
On Tuesday 17 April 2012, Marek Vasut wrote:
> + * PHY must be registered via subsys_initcall to get it running before EHCI
> + * controller driver.
> + */
> +subsys_initcall(mxs_phy_init);
> +module_exit(mxs_phy_exit);
I think this can be a regular module_init() now, if you change the main
driver to call an exported function from here that checks if the phy
has been probed, so you can return -EPROBE_DEFER from the main
probe function to be called again later.
Arnd
More information about the linux-arm-kernel
mailing list