From 60ab526dad4b88d156269d2b415dd2fd2f84bd17 Mon Sep 17 00:00:00 2001 From: blogic Date: Mon, 1 Dec 2014 16:15:30 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43474 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/oxnas/files/arch/arm/boot/dts/ox820.dtsi | 2 +- target/linux/oxnas/files/drivers/usb/host/ehci-oxnas.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820.dtsi b/target/linux/oxnas/files/arch/arm/boot/dts/ox820.dtsi index 0a643a4e81..77efd43157 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820.dtsi +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820.dtsi @@ -336,7 +336,7 @@ /* Otherwise ref300 is used, which is derived from sata phy * in that case, usb depends on sata initialization */ /* FIXME: how to make this dependency explicit ? */ - plxtch,ehci_use_pllb; + plxtech,ehci_use_pllb; status = "disabled"; }; }; diff --git a/target/linux/oxnas/files/drivers/usb/host/ehci-oxnas.c b/target/linux/oxnas/files/drivers/usb/host/ehci-oxnas.c index 23c5061ec5..dae5589c50 100644 --- a/target/linux/oxnas/files/drivers/usb/host/ehci-oxnas.c +++ b/target/linux/oxnas/files/drivers/usb/host/ehci-oxnas.c @@ -172,8 +172,8 @@ static int ehci_oxnas_drv_probe(struct platform_device *ofdev) oxnas = (struct oxnas_hcd *)hcd_to_ehci(hcd)->priv; - oxnas->use_pllb = of_property_read_bool(np, "plxtch,ehci_use_pllb"); - oxnas->use_phya = of_property_read_bool(np, "plxtch,ehci_use_phya"); + oxnas->use_pllb = of_property_read_bool(np, "plxtech,ehci_use_pllb"); + oxnas->use_phya = of_property_read_bool(np, "plxtech,ehci_use_phya"); oxnas->clk = of_clk_get_by_name(np, "usb"); 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[] = { - { .compatible = "plxtch,nas782x-ehci" }, + { .compatible = "plxtech,nas782x-ehci" }, { /* sentinel */ } }; -- 2.11.0