Skip to content
Commit 2bcfae22 authored by Fabio Estevam's avatar Fabio Estevam Committed by Stefano Babic
Browse files

usb: ehci: mxs: Fix the USB node pointer retrieval



Use dev_ofnode() to retrieve the USB node pointer from the udevice
structure.

This fixes the following build error:

drivers/usb/host/ehci-mxs.c:143:38: error: 'struct udevice' has no member named 'node_'

Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
parent 7dede403
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment