Re: [PATCH 2/3] phy: berlin: Do not use sata name in usb phy driver
On Wed, Jun 24, 2015 at 10:40:54AM +0200, Michal Simek wrote: > c error from berlin sata phy driver. > > Signed-off-by: Michal Simek Acked-by: Antoine Tenart > --- > > drivers/phy/phy-berlin-usb.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/phy/phy-berlin-usb.c b/drivers/phy/phy-berlin-usb.c > index d7431f6ab975..762f0fbdc119 100644 > --- a/drivers/phy/phy-berlin-usb.c > +++ b/drivers/phy/phy-berlin-usb.c > @@ -152,7 +152,7 @@ static struct phy_ops phy_berlin_usb_ops = { > .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", > .data = _berlin_pll_dividers[0], > @@ -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) > { > const struct of_device_id *match = > - of_match_device(phy_berlin_sata_of_match, >dev); > + of_match_device(phy_berlin_usb_of_match, >dev); > struct phy_berlin_usb_priv *priv; > struct resource *res; > struct phy *phy; > @@ -207,7 +207,7 @@ static struct platform_driver phy_berlin_usb_driver = { > .probe = phy_berlin_usb_probe, > .driver = { > .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); > -- > 2.3.5 > -- Antoine Ténart, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 2/3] phy: berlin: Do not use sata name in usb phy driver
On Wed, Jun 24, 2015 at 10:40:54AM +0200, Michal Simek wrote: cp error from berlin sata phy driver. Signed-off-by: Michal Simek michal.si...@xilinx.com Acked-by: Antoine Tenart antoine.ten...@free-electrons.com --- drivers/phy/phy-berlin-usb.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/phy/phy-berlin-usb.c b/drivers/phy/phy-berlin-usb.c index d7431f6ab975..762f0fbdc119 100644 --- a/drivers/phy/phy-berlin-usb.c +++ b/drivers/phy/phy-berlin-usb.c @@ -152,7 +152,7 @@ static struct phy_ops phy_berlin_usb_ops = { .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, .data = phy_berlin_pll_dividers[0], @@ -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) { 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 resource *res; struct phy *phy; @@ -207,7 +207,7 @@ static struct platform_driver phy_berlin_usb_driver = { .probe = phy_berlin_usb_probe, .driver = { .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); -- 2.3.5 -- Antoine Ténart, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/