of: Always use 'struct device.of_node' to get device node pointer.
[deliverable/linux.git] / drivers / usb / host / ehci-ppc-of.c
index 8df33b8a634c4c944bf1c385cbba056f393d09db..ad0662354a5e188d81b0347cbbd81675440554c7 100644 (file)
@@ -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;
This page took 0.028982 seconds and 5 git commands to generate.