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:
parent
fc5874ad75
commit
983117210c
@ -618,7 +618,7 @@ static void *lc823450_epallocbuffer(struct usbdev_ep_s *ep, uint16_t bytes)
|
|||||||
# ifdef CONFIG_USBDEV_DMAMEMORY
|
# ifdef CONFIG_USBDEV_DMAMEMORY
|
||||||
return usbdev_dma_alloc(bytes);
|
return usbdev_dma_alloc(bytes);
|
||||||
# else
|
# else
|
||||||
return kmm_alloc(bytes);
|
return kmm_malloc(bytes);
|
||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user