Re: [PATCH] usb: phy: mv_u3d: Add usb phy driver for mv_u3d

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux