Skip to content
Snippets Groups Projects
Commit 798b1e6f authored by Ye Li's avatar Ye Li Committed by Troy Kisky
Browse files

MLK-17272 imx8mq_evk: Fix build warnings with usb power


Fix build warnings below, because the imx8m_usb_power is not declared

board/freescale/imx8mq_evk/imx8m_evk.c: In function ‘board_usb_init’:
board/freescale/imx8mq_evk/imx8m_evk.c:205:2: warning: implicit
declaration of function ‘imx8m_usb_power’ [-Wimplicit-function-declaration]
  imx8m_usb_power(index, true);
  ^~~~~~~~~~~~~~~

drivers/usb/host/xhci-imx8m.c: In function ‘xhci_hcd_init’:
drivers/usb/host/xhci-imx8m.c:123:3: warning: implicit declaration of
function ‘imx8m_usb_power’ [-Wimplicit-function-declaration]
   imx8m_usb_power(ctr_data[index].usb_id, false);
   ^~~~~~~~~~~~~~~

Signed-off-by: default avatarYe Li <ye.li@nxp.com>
Acked-by: default avatarPeng Fan <peng.fan@nxp.com>
parent e8351e29
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment