Fix chip/cxd56_usbdev.c:675:20: error: unused function 'cxd56_iscableconnected' [-Werror,-Wunused-function]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
c701d1c6ec
commit
eeefc4a516
@ -664,19 +664,6 @@ static inline void cxd56_cableconnected(bool connected)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: cxd56_iscableconnected
|
|
||||||
*
|
|
||||||
* Description:
|
|
||||||
* Return the cable status. (true is connected)
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
static inline bool cxd56_iscableconnected(void)
|
|
||||||
{
|
|
||||||
return getreg32(CXD56_TOPREG_USB_VBUS) & VBUS_DET;
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: cxd56_rqdequeue
|
* Name: cxd56_rqdequeue
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user