mirror of https://github.com/hak5/openwrt-owl.git
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> SVN-Revision: 43474owl
parent
d40842d180
commit
aa9141046f
|
@ -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