Commit 456dedc9 authored by Michal Simek's avatar Michal Simek Committed by Kishon Vijay Abraham I

phy: berlin: Do not use sata name in usb phy driver

copy and paste error from berlin sata phy driver.
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Acked-by: default avatarAntoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 2c89e41f
...@@ -152,7 +152,7 @@ static struct phy_ops phy_berlin_usb_ops = { ...@@ -152,7 +152,7 @@ static struct phy_ops phy_berlin_usb_ops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
static const struct of_device_id phy_berlin_sata_of_match[] = { static const struct of_device_id phy_berlin_usb_of_match[] = {
{ {
.compatible = "marvell,berlin2-usb-phy", .compatible = "marvell,berlin2-usb-phy",
.data = &phy_berlin_pll_dividers[0], .data = &phy_berlin_pll_dividers[0],
...@@ -163,12 +163,12 @@ static const struct of_device_id phy_berlin_sata_of_match[] = { ...@@ -163,12 +163,12 @@ static const struct of_device_id phy_berlin_sata_of_match[] = {
}, },
{ }, { },
}; };
MODULE_DEVICE_TABLE(of, phy_berlin_sata_of_match); MODULE_DEVICE_TABLE(of, phy_berlin_usb_of_match);
static int phy_berlin_usb_probe(struct platform_device *pdev) static int phy_berlin_usb_probe(struct platform_device *pdev)
{ {
const struct of_device_id *match = const struct of_device_id *match =
of_match_device(phy_berlin_sata_of_match, &pdev->dev); of_match_device(phy_berlin_usb_of_match, &pdev->dev);
struct phy_berlin_usb_priv *priv; struct phy_berlin_usb_priv *priv;
struct resource *res; struct resource *res;
struct phy *phy; struct phy *phy;
...@@ -207,7 +207,7 @@ static struct platform_driver phy_berlin_usb_driver = { ...@@ -207,7 +207,7 @@ static struct platform_driver phy_berlin_usb_driver = {
.probe = phy_berlin_usb_probe, .probe = phy_berlin_usb_probe,
.driver = { .driver = {
.name = "phy-berlin-usb", .name = "phy-berlin-usb",
.of_match_table = phy_berlin_sata_of_match, .of_match_table = phy_berlin_usb_of_match,
}, },
}; };
module_platform_driver(phy_berlin_usb_driver); module_platform_driver(phy_berlin_usb_driver);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment