diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 16:24:24 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 16:24:24 -0600 |
commit | 229ba49e4c56097c393d2e5fa9e77de80ce55a75 (patch) | |
tree | 4842535e4d2e0c4ef983d6be8e33a68c3d74c554 /nuttx/arch/arm/src/lpc31xx | |
parent | 08835af3d68a4ea82ec32a5fe29608a6233eb9d9 (diff) | |
download | px4-nuttx-229ba49e4c56097c393d2e5fa9e77de80ce55a75.tar.gz px4-nuttx-229ba49e4c56097c393d2e5fa9e77de80ce55a75.tar.bz2 px4-nuttx-229ba49e4c56097c393d2e5fa9e77de80ce55a75.zip |
Rename kumalloc to kumm_malloc and kuzalloc to kumm_zalloc for consistency with other naming
Diffstat (limited to 'nuttx/arch/arm/src/lpc31xx')
-rwxr-xr-x | nuttx/arch/arm/src/lpc31xx/lpc31_ehci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/lpc31xx/lpc31_ehci.c b/nuttx/arch/arm/src/lpc31xx/lpc31_ehci.c index 2af7e0c13..8f0091f8a 100755 --- a/nuttx/arch/arm/src/lpc31xx/lpc31_ehci.c +++ b/nuttx/arch/arm/src/lpc31xx/lpc31_ehci.c @@ -3773,7 +3773,7 @@ static int lpc31_free(FAR struct usbhost_driver_s *drvr, FAR uint8_t *buffer) * Some hardware supports special memory in which larger IO buffers can * be accessed more efficiently. This method provides a mechanism to allocate * the request/descriptor memory. If the underlying hardware does not support - * such "special" memory, this functions may simply map to kumalloc. + * such "special" memory, this functions may simply map to kumm_malloc. * * This interface differs from DRVR_ALLOC in that the buffers are variable-sized. * @@ -3802,7 +3802,7 @@ static int lpc31_ioalloc(FAR struct usbhost_driver_s *drvr, FAR uint8_t **buffer * accessible (depending on how the class driver implements its buffering). */ - *buffer = (FAR uint8_t *)kumalloc(buflen); + *buffer = (FAR uint8_t *)kumm_malloc(buflen); return *buffer ? OK : -ENOMEM; } |