mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-01 17:12:11 +00:00
dm: device: Fix typo in the non-DEVRES version of devm_kmalloc_array()
When DEVRES is not set, devm_kmalloc_array() is spelled devm_kmaloc_array() (with one 'l' only). Fixing it so that the name is the same with and without DEVRES. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
833e4192cd
commit
d8efa2ce2a
1 changed files with 2 additions and 2 deletions
|
@ -945,7 +945,7 @@ static inline void *devm_kzalloc(struct udevice *dev, size_t size, gfp_t gfp)
|
||||||
return kzalloc(size, gfp);
|
return kzalloc(size, gfp);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void *devm_kmaloc_array(struct udevice *dev,
|
static inline void *devm_kmalloc_array(struct udevice *dev,
|
||||||
size_t n, size_t size, gfp_t flags)
|
size_t n, size_t size, gfp_t flags)
|
||||||
{
|
{
|
||||||
/* TODO: add kmalloc_array() to linux/compat.h */
|
/* TODO: add kmalloc_array() to linux/compat.h */
|
||||||
|
|
Loading…
Add table
Reference in a new issue