diff options
Diffstat (limited to 'drivers/usb/phy/phy-samsung-usb2.c')
-rw-r--r-- | drivers/usb/phy/phy-samsung-usb2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-samsung-usb2.c b/drivers/usb/phy/phy-samsung-usb2.c index ff70e4b19b97..b3ba86627b72 100644 --- a/drivers/usb/phy/phy-samsung-usb2.c +++ b/drivers/usb/phy/phy-samsung-usb2.c | |||
@@ -411,6 +411,7 @@ static int samsung_usb2phy_probe(struct platform_device *pdev) | |||
411 | sphy->drv_data = drv_data; | 411 | sphy->drv_data = drv_data; |
412 | sphy->phy.dev = sphy->dev; | 412 | sphy->phy.dev = sphy->dev; |
413 | sphy->phy.label = "samsung-usb2phy"; | 413 | sphy->phy.label = "samsung-usb2phy"; |
414 | sphy->phy.type = USB_PHY_TYPE_USB2; | ||
414 | sphy->phy.init = samsung_usb2phy_init; | 415 | sphy->phy.init = samsung_usb2phy_init; |
415 | sphy->phy.shutdown = samsung_usb2phy_shutdown; | 416 | sphy->phy.shutdown = samsung_usb2phy_shutdown; |
416 | 417 | ||
@@ -426,7 +427,7 @@ static int samsung_usb2phy_probe(struct platform_device *pdev) | |||
426 | 427 | ||
427 | platform_set_drvdata(pdev, sphy); | 428 | platform_set_drvdata(pdev, sphy); |
428 | 429 | ||
429 | return usb_add_phy(&sphy->phy, USB_PHY_TYPE_USB2); | 430 | return usb_add_phy_dev(&sphy->phy); |
430 | } | 431 | } |
431 | 432 | ||
432 | static int samsung_usb2phy_remove(struct platform_device *pdev) | 433 | static int samsung_usb2phy_remove(struct platform_device *pdev) |