/* Returns a value to check the end of USB Configuration descriptor.  */
static usb_conf_desc_t UDC_DESC_STORAGE* udc_get_eof_conf(void)
/* Returns a value to check the end of USB Configuration descriptor.  */
static usb_conf_desc_t UDC_DESC_STORAGE* udc_get_eof_conf(void)
{
	return (UDC_DESC_STORAGE usb_conf_desc_t *) ((uint8_t *)
			udc_ptr_conf->desc +
			le16_to_cpu(udc_ptr_conf->desc->wTotalLength));
}