diff options
Diffstat (limited to 'drivers/usb/gadget/fsl_qe_udc.c')
-rw-r--r-- | drivers/usb/gadget/fsl_qe_udc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/fsl_qe_udc.c b/drivers/usb/gadget/fsl_qe_udc.c index 2928523268b5..82506ca297d5 100644 --- a/drivers/usb/gadget/fsl_qe_udc.c +++ b/drivers/usb/gadget/fsl_qe_udc.c | |||
@@ -2400,7 +2400,7 @@ EXPORT_SYMBOL(usb_gadget_unregister_driver); | |||
2400 | static struct qe_udc __devinit *qe_udc_config(struct of_device *ofdev) | 2400 | static struct qe_udc __devinit *qe_udc_config(struct of_device *ofdev) |
2401 | { | 2401 | { |
2402 | struct qe_udc *udc; | 2402 | struct qe_udc *udc; |
2403 | struct device_node *np = ofdev->node; | 2403 | struct device_node *np = ofdev->dev.of_node; |
2404 | unsigned int tmp_addr = 0; | 2404 | unsigned int tmp_addr = 0; |
2405 | struct usb_device_para __iomem *usbpram; | 2405 | struct usb_device_para __iomem *usbpram; |
2406 | unsigned int i; | 2406 | unsigned int i; |
@@ -2525,7 +2525,7 @@ static void qe_udc_release(struct device *dev) | |||
2525 | static int __devinit qe_udc_probe(struct of_device *ofdev, | 2525 | static int __devinit qe_udc_probe(struct of_device *ofdev, |
2526 | const struct of_device_id *match) | 2526 | const struct of_device_id *match) |
2527 | { | 2527 | { |
2528 | struct device_node *np = ofdev->node; | 2528 | struct device_node *np = ofdev->dev.of_node; |
2529 | struct qe_ep *ep; | 2529 | struct qe_ep *ep; |
2530 | unsigned int ret = 0; | 2530 | unsigned int ret = 0; |
2531 | unsigned int i; | 2531 | unsigned int i; |