[PATCH 12/37] drivers/usb: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed

Signed-off-by: Grant Likely grant.lik...@secretlab.ca
---

 drivers/usb/host/ehci-ppc-of.c |2 +-
 drivers/usb/host/isp1760-if.c  |2 +-
 drivers/usb/host/ohci-ppc-of.c |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/usb/host/ehci-ppc-of.c b/drivers/usb/host/ehci-ppc-of.c
index 8df33b8..ad06623 100644
--- a/drivers/usb/host/ehci-ppc-of.c
+++ b/drivers/usb/host/ehci-ppc-of.c
@@ -108,7 +108,7 @@ ppc44x_enable_bmt(struct device_node *dn)
 static int __devinit
 ehci_hcd_ppc_of_probe(struct of_device *op, const struct of_device_id *match)
 {
-   struct device_node *dn = op-node;
+   struct device_node *dn = op-dev.of_node;
struct usb_hcd *hcd;
struct ehci_hcd *ehci = NULL;
struct resource res;
diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c
index 4293cfd..36360e2 100644
--- a/drivers/usb/host/isp1760-if.c
+++ b/drivers/usb/host/isp1760-if.c
@@ -31,7 +31,7 @@ static int of_isp1760_probe(struct of_device *dev,
const struct of_device_id *match)
 {
struct usb_hcd *hcd;
-   struct device_node *dp = dev-node;
+   struct device_node *dp = dev-dev.of_node;
struct resource *res;
struct resource memory;
struct of_irq oirq;
diff --git a/drivers/usb/host/ohci-ppc-of.c b/drivers/usb/host/ohci-ppc-of.c
index 103263c..003aea2 100644
--- a/drivers/usb/host/ohci-ppc-of.c
+++ b/drivers/usb/host/ohci-ppc-of.c
@@ -83,7 +83,7 @@ static const struct hc_driver ohci_ppc_of_hc_driver = {
 static int __devinit
 ohci_hcd_ppc_of_probe(struct of_device *op, const struct of_device_id *match)
 {
-   struct device_node *dn = op-node;
+   struct device_node *dn = op-dev.of_node;
struct usb_hcd *hcd;
struct ohci_hcd *ohci;
struct resource res;

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: [PATCH 12/37] drivers/usb: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Greg KH
On Thu, Mar 11, 2010 at 11:04:54AM -0700, Grant Likely wrote:
 .node is being removed
 
 Signed-off-by: Grant Likely grant.lik...@secretlab.ca

Acked-by: Greg Kroah-Hartman gre...@suse.de
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev