]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: ehci: mxs: Fix the USB node pointer retrieval
authorFabio Estevam <festevam@denx.de>
Mon, 9 Oct 2023 13:15:34 +0000 (10:15 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 16 Oct 2023 06:46:01 +0000 (08:46 +0200)
commit2bcfae22d9f61a57f9cb8f2eb0aff79259e2c724
treebd1423070a15c2f3ed34de76cd46db20640bbbde
parent7dede4033bd0391d240914b3e54ec49a984d39b2
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: Fabio Estevam <festevam@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/usb/host/ehci-mxs.c