diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/dwc3/dwc3-exynos.c | 6 | ||||
-rw-r--r-- | drivers/usb/dwc3/dwc3-pci.c | 6 | ||||
-rw-r--r-- | drivers/usb/musb/am35x.c | 4 | ||||
-rw-r--r-- | drivers/usb/musb/blackfin.c | 4 | ||||
-rw-r--r-- | drivers/usb/musb/da8xx.c | 4 | ||||
-rw-r--r-- | drivers/usb/musb/davinci.c | 6 | ||||
-rw-r--r-- | drivers/usb/musb/tusb6010.c | 6 | ||||
-rw-r--r-- | drivers/usb/phy/phy-am335x.c | 2 | ||||
-rw-r--r-- | drivers/usb/phy/phy-generic.c | 50 | ||||
-rw-r--r-- | drivers/usb/phy/phy-generic.h | 6 | ||||
-rw-r--r-- | drivers/usb/phy/phy-keystone.c | 2 |
11 files changed, 48 insertions, 48 deletions
diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3/dwc3-exynos.c index 28c8ad79f5e6..821cc59e6e1d 100644 --- a/drivers/usb/dwc3/dwc3-exynos.c +++ b/drivers/usb/dwc3/dwc3-exynos.c | |||
@@ -38,13 +38,13 @@ struct dwc3_exynos { | |||
38 | 38 | ||
39 | static int dwc3_exynos_register_phys(struct dwc3_exynos *exynos) | 39 | static int dwc3_exynos_register_phys(struct dwc3_exynos *exynos) |
40 | { | 40 | { |
41 | struct usb_phy_gen_xceiv_platform_data pdata; | 41 | struct usb_phy_generic_platform_data pdata; |
42 | struct platform_device *pdev; | 42 | struct platform_device *pdev; |
43 | int ret; | 43 | int ret; |
44 | 44 | ||
45 | memset(&pdata, 0x00, sizeof(pdata)); | 45 | memset(&pdata, 0x00, sizeof(pdata)); |
46 | 46 | ||
47 | pdev = platform_device_alloc("usb_phy_gen_xceiv", PLATFORM_DEVID_AUTO); | 47 | pdev = platform_device_alloc("usb_phy_generic", PLATFORM_DEVID_AUTO); |
48 | if (!pdev) | 48 | if (!pdev) |
49 | return -ENOMEM; | 49 | return -ENOMEM; |
50 | 50 | ||
@@ -56,7 +56,7 @@ static int dwc3_exynos_register_phys(struct dwc3_exynos *exynos) | |||
56 | if (ret) | 56 | if (ret) |
57 | goto err1; | 57 | goto err1; |
58 | 58 | ||
59 | pdev = platform_device_alloc("usb_phy_gen_xceiv", PLATFORM_DEVID_AUTO); | 59 | pdev = platform_device_alloc("usb_phy_generic", PLATFORM_DEVID_AUTO); |
60 | if (!pdev) { | 60 | if (!pdev) { |
61 | ret = -ENOMEM; | 61 | ret = -ENOMEM; |
62 | goto err1; | 62 | goto err1; |
diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c index f393c183cc69..8b162f0e293c 100644 --- a/drivers/usb/dwc3/dwc3-pci.c +++ b/drivers/usb/dwc3/dwc3-pci.c | |||
@@ -40,13 +40,13 @@ struct dwc3_pci { | |||
40 | 40 | ||
41 | static int dwc3_pci_register_phys(struct dwc3_pci *glue) | 41 | static int dwc3_pci_register_phys(struct dwc3_pci *glue) |
42 | { | 42 | { |
43 | struct usb_phy_gen_xceiv_platform_data pdata; | 43 | struct usb_phy_generic_platform_data pdata; |
44 | struct platform_device *pdev; | 44 | struct platform_device *pdev; |
45 | int ret; | 45 | int ret; |
46 | 46 | ||
47 | memset(&pdata, 0x00, sizeof(pdata)); | 47 | memset(&pdata, 0x00, sizeof(pdata)); |
48 | 48 | ||
49 | pdev = platform_device_alloc("usb_phy_gen_xceiv", 0); | 49 | pdev = platform_device_alloc("usb_phy_generic", 0); |
50 | if (!pdev) | 50 | if (!pdev) |
51 | return -ENOMEM; | 51 | return -ENOMEM; |
52 | 52 | ||
@@ -58,7 +58,7 @@ static int dwc3_pci_register_phys(struct dwc3_pci *glue) | |||
58 | if (ret) | 58 | if (ret) |
59 | goto err1; | 59 | goto err1; |
60 | 60 | ||
61 | pdev = platform_device_alloc("usb_phy_gen_xceiv", 1); | 61 | pdev = platform_device_alloc("usb_phy_generic", 1); |
62 | if (!pdev) { | 62 | if (!pdev) { |
63 | ret = -ENOMEM; | 63 | ret = -ENOMEM; |
64 | goto err1; | 64 | goto err1; |
diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c index b3aa0184af9a..77ed66427969 100644 --- a/drivers/usb/musb/am35x.c +++ b/drivers/usb/musb/am35x.c | |||
@@ -360,7 +360,7 @@ static int am35x_musb_init(struct musb *musb) | |||
360 | if (!rev) | 360 | if (!rev) |
361 | return -ENODEV; | 361 | return -ENODEV; |
362 | 362 | ||
363 | usb_nop_xceiv_register(); | 363 | usb_phy_generic_register(); |
364 | musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); | 364 | musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); |
365 | if (IS_ERR_OR_NULL(musb->xceiv)) | 365 | if (IS_ERR_OR_NULL(musb->xceiv)) |
366 | return -EPROBE_DEFER; | 366 | return -EPROBE_DEFER; |
@@ -402,7 +402,7 @@ static int am35x_musb_exit(struct musb *musb) | |||
402 | data->set_phy_power(0); | 402 | data->set_phy_power(0); |
403 | 403 | ||
404 | usb_put_phy(musb->xceiv); | 404 | usb_put_phy(musb->xceiv); |
405 | usb_nop_xceiv_unregister(); | 405 | usb_phy_generic_unregister(); |
406 | 406 | ||
407 | return 0; | 407 | return 0; |
408 | } | 408 | } |
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c index 796677fa9a15..607f3ae04591 100644 --- a/drivers/usb/musb/blackfin.c +++ b/drivers/usb/musb/blackfin.c | |||
@@ -401,7 +401,7 @@ static int bfin_musb_init(struct musb *musb) | |||
401 | } | 401 | } |
402 | gpio_direction_output(musb->config->gpio_vrsel, 0); | 402 | gpio_direction_output(musb->config->gpio_vrsel, 0); |
403 | 403 | ||
404 | usb_nop_xceiv_register(); | 404 | usb_phy_generic_register(); |
405 | musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); | 405 | musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); |
406 | if (IS_ERR_OR_NULL(musb->xceiv)) { | 406 | if (IS_ERR_OR_NULL(musb->xceiv)) { |
407 | gpio_free(musb->config->gpio_vrsel); | 407 | gpio_free(musb->config->gpio_vrsel); |
@@ -426,7 +426,7 @@ static int bfin_musb_exit(struct musb *musb) | |||
426 | gpio_free(musb->config->gpio_vrsel); | 426 | gpio_free(musb->config->gpio_vrsel); |
427 | 427 | ||
428 | usb_put_phy(musb->xceiv); | 428 | usb_put_phy(musb->xceiv); |
429 | usb_nop_xceiv_unregister(); | 429 | usb_phy_generic_unregister(); |
430 | return 0; | 430 | return 0; |
431 | } | 431 | } |
432 | 432 | ||
diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c index e3486de71995..bcdce8e64670 100644 --- a/drivers/usb/musb/da8xx.c +++ b/drivers/usb/musb/da8xx.c | |||
@@ -418,7 +418,7 @@ static int da8xx_musb_init(struct musb *musb) | |||
418 | if (!rev) | 418 | if (!rev) |
419 | goto fail; | 419 | goto fail; |
420 | 420 | ||
421 | usb_nop_xceiv_register(); | 421 | usb_phy_generic_register(); |
422 | musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); | 422 | musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); |
423 | if (IS_ERR_OR_NULL(musb->xceiv)) { | 423 | if (IS_ERR_OR_NULL(musb->xceiv)) { |
424 | ret = -EPROBE_DEFER; | 424 | ret = -EPROBE_DEFER; |
@@ -453,7 +453,7 @@ static int da8xx_musb_exit(struct musb *musb) | |||
453 | phy_off(); | 453 | phy_off(); |
454 | 454 | ||
455 | usb_put_phy(musb->xceiv); | 455 | usb_put_phy(musb->xceiv); |
456 | usb_nop_xceiv_unregister(); | 456 | usb_phy_generic_unregister(); |
457 | 457 | ||
458 | return 0; | 458 | return 0; |
459 | } | 459 | } |
diff --git a/drivers/usb/musb/davinci.c b/drivers/usb/musb/davinci.c index c259dac9d056..c0e07eddb079 100644 --- a/drivers/usb/musb/davinci.c +++ b/drivers/usb/musb/davinci.c | |||
@@ -381,7 +381,7 @@ static int davinci_musb_init(struct musb *musb) | |||
381 | u32 revision; | 381 | u32 revision; |
382 | int ret = -ENODEV; | 382 | int ret = -ENODEV; |
383 | 383 | ||
384 | usb_nop_xceiv_register(); | 384 | usb_phy_generic_register(); |
385 | musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); | 385 | musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); |
386 | if (IS_ERR_OR_NULL(musb->xceiv)) { | 386 | if (IS_ERR_OR_NULL(musb->xceiv)) { |
387 | ret = -EPROBE_DEFER; | 387 | ret = -EPROBE_DEFER; |
@@ -439,7 +439,7 @@ static int davinci_musb_init(struct musb *musb) | |||
439 | fail: | 439 | fail: |
440 | usb_put_phy(musb->xceiv); | 440 | usb_put_phy(musb->xceiv); |
441 | unregister: | 441 | unregister: |
442 | usb_nop_xceiv_unregister(); | 442 | usb_phy_generic_unregister(); |
443 | return ret; | 443 | return ret; |
444 | } | 444 | } |
445 | 445 | ||
@@ -487,7 +487,7 @@ static int davinci_musb_exit(struct musb *musb) | |||
487 | phy_off(); | 487 | phy_off(); |
488 | 488 | ||
489 | usb_put_phy(musb->xceiv); | 489 | usb_put_phy(musb->xceiv); |
490 | usb_nop_xceiv_unregister(); | 490 | usb_phy_generic_unregister(); |
491 | 491 | ||
492 | return 0; | 492 | return 0; |
493 | } | 493 | } |
diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c index 4e9fb1d08698..0c0f5ee1e3f1 100644 --- a/drivers/usb/musb/tusb6010.c +++ b/drivers/usb/musb/tusb6010.c | |||
@@ -1065,7 +1065,7 @@ static int tusb_musb_init(struct musb *musb) | |||
1065 | void __iomem *sync = NULL; | 1065 | void __iomem *sync = NULL; |
1066 | int ret; | 1066 | int ret; |
1067 | 1067 | ||
1068 | usb_nop_xceiv_register(); | 1068 | usb_phy_generic_register(); |
1069 | musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); | 1069 | musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); |
1070 | if (IS_ERR_OR_NULL(musb->xceiv)) | 1070 | if (IS_ERR_OR_NULL(musb->xceiv)) |
1071 | return -EPROBE_DEFER; | 1071 | return -EPROBE_DEFER; |
@@ -1117,7 +1117,7 @@ done: | |||
1117 | iounmap(sync); | 1117 | iounmap(sync); |
1118 | 1118 | ||
1119 | usb_put_phy(musb->xceiv); | 1119 | usb_put_phy(musb->xceiv); |
1120 | usb_nop_xceiv_unregister(); | 1120 | usb_phy_generic_unregister(); |
1121 | } | 1121 | } |
1122 | return ret; | 1122 | return ret; |
1123 | } | 1123 | } |
@@ -1133,7 +1133,7 @@ static int tusb_musb_exit(struct musb *musb) | |||
1133 | iounmap(musb->sync_va); | 1133 | iounmap(musb->sync_va); |
1134 | 1134 | ||
1135 | usb_put_phy(musb->xceiv); | 1135 | usb_put_phy(musb->xceiv); |
1136 | usb_nop_xceiv_unregister(); | 1136 | usb_phy_generic_unregister(); |
1137 | return 0; | 1137 | return 0; |
1138 | } | 1138 | } |
1139 | 1139 | ||
diff --git a/drivers/usb/phy/phy-am335x.c b/drivers/usb/phy/phy-am335x.c index 12fc3468a01e..bb866e466051 100644 --- a/drivers/usb/phy/phy-am335x.c +++ b/drivers/usb/phy/phy-am335x.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include "phy-generic.h" | 13 | #include "phy-generic.h" |
14 | 14 | ||
15 | struct am335x_phy { | 15 | struct am335x_phy { |
16 | struct usb_phy_gen_xceiv usb_phy_gen; | 16 | struct usb_phy_generic usb_phy_gen; |
17 | struct phy_control *phy_ctrl; | 17 | struct phy_control *phy_ctrl; |
18 | int id; | 18 | int id; |
19 | }; | 19 | }; |
diff --git a/drivers/usb/phy/phy-generic.c b/drivers/usb/phy/phy-generic.c index 95e70bc384c2..e76ca4ca3a8a 100644 --- a/drivers/usb/phy/phy-generic.c +++ b/drivers/usb/phy/phy-generic.c | |||
@@ -43,32 +43,32 @@ | |||
43 | 43 | ||
44 | static struct platform_device *pd; | 44 | static struct platform_device *pd; |
45 | 45 | ||
46 | void usb_nop_xceiv_register(void) | 46 | void usb_phy_generic_register(void) |
47 | { | 47 | { |
48 | if (pd) | 48 | if (pd) |
49 | return; | 49 | return; |
50 | pd = platform_device_register_simple("usb_phy_gen_xceiv", -1, NULL, 0); | 50 | pd = platform_device_register_simple("usb_phy_generic", -1, NULL, 0); |
51 | if (IS_ERR(pd)) { | 51 | if (IS_ERR(pd)) { |
52 | pr_err("Unable to register generic usb transceiver\n"); | 52 | pr_err("Unable to register generic usb transceiver\n"); |
53 | pd = NULL; | 53 | pd = NULL; |
54 | return; | 54 | return; |
55 | } | 55 | } |
56 | } | 56 | } |
57 | EXPORT_SYMBOL_GPL(usb_nop_xceiv_register); | 57 | EXPORT_SYMBOL_GPL(usb_phy_generic_register); |
58 | 58 | ||
59 | void usb_nop_xceiv_unregister(void) | 59 | void usb_phy_generic_unregister(void) |
60 | { | 60 | { |
61 | platform_device_unregister(pd); | 61 | platform_device_unregister(pd); |
62 | pd = NULL; | 62 | pd = NULL; |
63 | } | 63 | } |
64 | EXPORT_SYMBOL_GPL(usb_nop_xceiv_unregister); | 64 | EXPORT_SYMBOL_GPL(usb_phy_generic_unregister); |
65 | 65 | ||
66 | static int nop_set_suspend(struct usb_phy *x, int suspend) | 66 | static int nop_set_suspend(struct usb_phy *x, int suspend) |
67 | { | 67 | { |
68 | return 0; | 68 | return 0; |
69 | } | 69 | } |
70 | 70 | ||
71 | static void nop_reset_set(struct usb_phy_gen_xceiv *nop, int asserted) | 71 | static void nop_reset_set(struct usb_phy_generic *nop, int asserted) |
72 | { | 72 | { |
73 | int value; | 73 | int value; |
74 | 74 | ||
@@ -87,7 +87,7 @@ static void nop_reset_set(struct usb_phy_gen_xceiv *nop, int asserted) | |||
87 | 87 | ||
88 | int usb_gen_phy_init(struct usb_phy *phy) | 88 | int usb_gen_phy_init(struct usb_phy *phy) |
89 | { | 89 | { |
90 | struct usb_phy_gen_xceiv *nop = dev_get_drvdata(phy->dev); | 90 | struct usb_phy_generic *nop = dev_get_drvdata(phy->dev); |
91 | 91 | ||
92 | if (!IS_ERR(nop->vcc)) { | 92 | if (!IS_ERR(nop->vcc)) { |
93 | if (regulator_enable(nop->vcc)) | 93 | if (regulator_enable(nop->vcc)) |
@@ -106,7 +106,7 @@ EXPORT_SYMBOL_GPL(usb_gen_phy_init); | |||
106 | 106 | ||
107 | void usb_gen_phy_shutdown(struct usb_phy *phy) | 107 | void usb_gen_phy_shutdown(struct usb_phy *phy) |
108 | { | 108 | { |
109 | struct usb_phy_gen_xceiv *nop = dev_get_drvdata(phy->dev); | 109 | struct usb_phy_generic *nop = dev_get_drvdata(phy->dev); |
110 | 110 | ||
111 | /* Assert RESET */ | 111 | /* Assert RESET */ |
112 | nop_reset_set(nop, 1); | 112 | nop_reset_set(nop, 1); |
@@ -150,8 +150,8 @@ static int nop_set_host(struct usb_otg *otg, struct usb_bus *host) | |||
150 | return 0; | 150 | return 0; |
151 | } | 151 | } |
152 | 152 | ||
153 | int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_gen_xceiv *nop, | 153 | int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_generic *nop, |
154 | struct usb_phy_gen_xceiv_platform_data *pdata) | 154 | struct usb_phy_generic_platform_data *pdata) |
155 | { | 155 | { |
156 | enum usb_phy_type type = USB_PHY_TYPE_USB2; | 156 | enum usb_phy_type type = USB_PHY_TYPE_USB2; |
157 | int err; | 157 | int err; |
@@ -245,10 +245,10 @@ int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_gen_xceiv *nop, | |||
245 | } | 245 | } |
246 | EXPORT_SYMBOL_GPL(usb_phy_gen_create_phy); | 246 | EXPORT_SYMBOL_GPL(usb_phy_gen_create_phy); |
247 | 247 | ||
248 | static int usb_phy_gen_xceiv_probe(struct platform_device *pdev) | 248 | static int usb_phy_generic_probe(struct platform_device *pdev) |
249 | { | 249 | { |
250 | struct device *dev = &pdev->dev; | 250 | struct device *dev = &pdev->dev; |
251 | struct usb_phy_gen_xceiv *nop; | 251 | struct usb_phy_generic *nop; |
252 | int err; | 252 | int err; |
253 | 253 | ||
254 | nop = devm_kzalloc(dev, sizeof(*nop), GFP_KERNEL); | 254 | nop = devm_kzalloc(dev, sizeof(*nop), GFP_KERNEL); |
@@ -274,9 +274,9 @@ static int usb_phy_gen_xceiv_probe(struct platform_device *pdev) | |||
274 | return 0; | 274 | return 0; |
275 | } | 275 | } |
276 | 276 | ||
277 | static int usb_phy_gen_xceiv_remove(struct platform_device *pdev) | 277 | static int usb_phy_generic_remove(struct platform_device *pdev) |
278 | { | 278 | { |
279 | struct usb_phy_gen_xceiv *nop = platform_get_drvdata(pdev); | 279 | struct usb_phy_generic *nop = platform_get_drvdata(pdev); |
280 | 280 | ||
281 | usb_remove_phy(&nop->phy); | 281 | usb_remove_phy(&nop->phy); |
282 | 282 | ||
@@ -290,29 +290,29 @@ static const struct of_device_id nop_xceiv_dt_ids[] = { | |||
290 | 290 | ||
291 | MODULE_DEVICE_TABLE(of, nop_xceiv_dt_ids); | 291 | MODULE_DEVICE_TABLE(of, nop_xceiv_dt_ids); |
292 | 292 | ||
293 | static struct platform_driver usb_phy_gen_xceiv_driver = { | 293 | static struct platform_driver usb_phy_generic_driver = { |
294 | .probe = usb_phy_gen_xceiv_probe, | 294 | .probe = usb_phy_generic_probe, |
295 | .remove = usb_phy_gen_xceiv_remove, | 295 | .remove = usb_phy_generic_remove, |
296 | .driver = { | 296 | .driver = { |
297 | .name = "usb_phy_gen_xceiv", | 297 | .name = "usb_phy_generic", |
298 | .owner = THIS_MODULE, | 298 | .owner = THIS_MODULE, |
299 | .of_match_table = nop_xceiv_dt_ids, | 299 | .of_match_table = nop_xceiv_dt_ids, |
300 | }, | 300 | }, |
301 | }; | 301 | }; |
302 | 302 | ||
303 | static int __init usb_phy_gen_xceiv_init(void) | 303 | static int __init usb_phy_generic_init(void) |
304 | { | 304 | { |
305 | return platform_driver_register(&usb_phy_gen_xceiv_driver); | 305 | return platform_driver_register(&usb_phy_generic_driver); |
306 | } | 306 | } |
307 | subsys_initcall(usb_phy_gen_xceiv_init); | 307 | subsys_initcall(usb_phy_generic_init); |
308 | 308 | ||
309 | static void __exit usb_phy_gen_xceiv_exit(void) | 309 | static void __exit usb_phy_generic_exit(void) |
310 | { | 310 | { |
311 | platform_driver_unregister(&usb_phy_gen_xceiv_driver); | 311 | platform_driver_unregister(&usb_phy_generic_driver); |
312 | } | 312 | } |
313 | module_exit(usb_phy_gen_xceiv_exit); | 313 | module_exit(usb_phy_generic_exit); |
314 | 314 | ||
315 | MODULE_ALIAS("platform:usb_phy_gen_xceiv"); | 315 | MODULE_ALIAS("platform:usb_phy_generic"); |
316 | MODULE_AUTHOR("Texas Instruments Inc"); | 316 | MODULE_AUTHOR("Texas Instruments Inc"); |
317 | MODULE_DESCRIPTION("NOP USB Transceiver driver"); | 317 | MODULE_DESCRIPTION("NOP USB Transceiver driver"); |
318 | MODULE_LICENSE("GPL"); | 318 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/usb/phy/phy-generic.h b/drivers/usb/phy/phy-generic.h index 38a81f307b82..f32450ada12d 100644 --- a/drivers/usb/phy/phy-generic.h +++ b/drivers/usb/phy/phy-generic.h | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | #include <linux/usb/usb_phy_gen_xceiv.h> | 4 | #include <linux/usb/usb_phy_gen_xceiv.h> |
5 | 5 | ||
6 | struct usb_phy_gen_xceiv { | 6 | struct usb_phy_generic { |
7 | struct usb_phy phy; | 7 | struct usb_phy phy; |
8 | struct device *dev; | 8 | struct device *dev; |
9 | struct clk *clk; | 9 | struct clk *clk; |
@@ -15,7 +15,7 @@ struct usb_phy_gen_xceiv { | |||
15 | int usb_gen_phy_init(struct usb_phy *phy); | 15 | int usb_gen_phy_init(struct usb_phy *phy); |
16 | void usb_gen_phy_shutdown(struct usb_phy *phy); | 16 | void usb_gen_phy_shutdown(struct usb_phy *phy); |
17 | 17 | ||
18 | int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_gen_xceiv *nop, | 18 | int usb_phy_gen_create_phy(struct device *dev, struct usb_phy_generic *nop, |
19 | struct usb_phy_gen_xceiv_platform_data *pdata); | 19 | struct usb_phy_generic_platform_data *pdata); |
20 | 20 | ||
21 | #endif | 21 | #endif |
diff --git a/drivers/usb/phy/phy-keystone.c b/drivers/usb/phy/phy-keystone.c index d762003896c0..2404c442c302 100644 --- a/drivers/usb/phy/phy-keystone.c +++ b/drivers/usb/phy/phy-keystone.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #define PHY_REF_SSP_EN BIT(29) | 35 | #define PHY_REF_SSP_EN BIT(29) |
36 | 36 | ||
37 | struct keystone_usbphy { | 37 | struct keystone_usbphy { |
38 | struct usb_phy_gen_xceiv usb_phy_gen; | 38 | struct usb_phy_generic usb_phy_gen; |
39 | void __iomem *phy_ctrl; | 39 | void __iomem *phy_ctrl; |
40 | }; | 40 | }; |
41 | 41 | ||