arch: lc823450: Fix compile errors in lc823450_usbdev.c with CONFIG_USBDEV_DMA=y

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-11-21 08:56:04 +09:00 committed by Alan Carvalho de Assis
parent fc5874ad75
commit 983117210c

View File

@ -618,7 +618,7 @@ static void *lc823450_epallocbuffer(struct usbdev_ep_s *ep, uint16_t bytes)
# ifdef CONFIG_USBDEV_DMAMEMORY
return usbdev_dma_alloc(bytes);
# else
return kmm_alloc(bytes);
return kmm_malloc(bytes);
# endif
}
#endif