Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9dfda84f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "USB: phy-msm-usb: Register driver with compatible platform driver"

parents b1b48446 2fe132e9
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -4372,7 +4372,7 @@ struct msm_otg_platform_data *msm_otg_dt_to_pdata(struct platform_device *pdev)
	return pdata;
}

static int __init msm_otg_probe(struct platform_device *pdev)
static int msm_otg_probe(struct platform_device *pdev)
{
	int ret = 0;
	int len = 0;
@@ -5112,6 +5112,7 @@ static struct of_device_id msm_otg_dt_match[] = {
};

static struct platform_driver msm_otg_driver = {
	.probe = msm_otg_probe,
	.remove = msm_otg_remove,
	.driver = {
		.name = DRIVER_NAME,
@@ -5123,7 +5124,7 @@ static struct platform_driver msm_otg_driver = {
	},
};

module_platform_driver_probe(msm_otg_driver, msm_otg_probe);
module_platform_driver(msm_otg_driver);

MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("MSM USB transceiver driver");