Hi, On Thu, Aug 09, 2012 at 06:02:46PM +0800, Yu Xu wrote: > +static struct platform_driver mv_u3d_phy_driver = { > + .probe = mv_u3d_phy_probe, > + .remove = __devexit_p(mv_u3d_phy_remove), > + .driver = { > + .name = "mv-u3d-phy", > + .owner = THIS_MODULE, > + }, > +}; > + > +static int __init mv_u3d_phy_driver_init(void) > +{ > + return platform_driver_register(&mv_u3d_phy_driver); > +} > +subsys_initcall(mv_u3d_phy_driver_init); please switch to module_platform_driver() and return -EPROBE_DEFER on dependent drivers. -- balbi
Attachment:
signature.asc
Description: Digital signature