]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: ehci-mx6: Move fdtdec_get_alias_seq() inside the CONFIG_MX6
authorFabio Estevam <festevam@denx.de>
Sun, 20 Jun 2021 15:00:51 +0000 (12:00 -0300)
committerMarek Vasut <marex@denx.de>
Thu, 24 Jun 2021 18:23:23 +0000 (20:23 +0200)
commitec326b932512cfe07dd97cc45480c87b903e08e3
tree9901c55da6c37922d6bc76a14f85dcf23c1dc847
parentfcf3981161140d265b873a5b609b8867328dc9dc
usb: ehci-mx6: Move fdtdec_get_alias_seq() inside the CONFIG_MX6

On a imx7s-warp board the fdtdec_get_alias_seq() function
always fails.

As priv->portnr is only used on i.MX6, move fdtdec_get_alias_seq()
inside the CONFIG_MX6 block.

Signed-off-by: Fabio Estevam <festevam@denx.de>
drivers/usb/host/ehci-mx6.c