oxnas: ehci: rename vendor prefix plxtch to plxtech
it was changed in DTS by commit oxnas-target: fix typo in OX820 device-tree Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43474 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
b040855a91
commit
841fc9915f
|
@ -336,7 +336,7 @@
|
||||||
/* Otherwise ref300 is used, which is derived from sata phy
|
/* Otherwise ref300 is used, which is derived from sata phy
|
||||||
* in that case, usb depends on sata initialization */
|
* in that case, usb depends on sata initialization */
|
||||||
/* FIXME: how to make this dependency explicit ? */
|
/* FIXME: how to make this dependency explicit ? */
|
||||||
plxtch,ehci_use_pllb;
|
plxtech,ehci_use_pllb;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -172,8 +172,8 @@ static int ehci_oxnas_drv_probe(struct platform_device *ofdev)
|
||||||
|
|
||||||
oxnas = (struct oxnas_hcd *)hcd_to_ehci(hcd)->priv;
|
oxnas = (struct oxnas_hcd *)hcd_to_ehci(hcd)->priv;
|
||||||
|
|
||||||
oxnas->use_pllb = of_property_read_bool(np, "plxtch,ehci_use_pllb");
|
oxnas->use_pllb = of_property_read_bool(np, "plxtech,ehci_use_pllb");
|
||||||
oxnas->use_phya = of_property_read_bool(np, "plxtch,ehci_use_phya");
|
oxnas->use_phya = of_property_read_bool(np, "plxtech,ehci_use_phya");
|
||||||
|
|
||||||
oxnas->clk = of_clk_get_by_name(np, "usb");
|
oxnas->clk = of_clk_get_by_name(np, "usb");
|
||||||
if (IS_ERR(oxnas->clk)) {
|
if (IS_ERR(oxnas->clk)) {
|
||||||
|
@ -276,7 +276,7 @@ static int ehci_oxnas_drv_remove(struct platform_device *pdev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct of_device_id oxnas_ehci_dt_ids[] = {
|
static const struct of_device_id oxnas_ehci_dt_ids[] = {
|
||||||
{ .compatible = "plxtch,nas782x-ehci" },
|
{ .compatible = "plxtech,nas782x-ehci" },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue