summaryrefslogtreecommitdiffstats
path: root/kernel/sound/core/memalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/core/memalloc.c')
-rw-r--r--kernel/sound/core/memalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sound/core/memalloc.c b/kernel/sound/core/memalloc.c
index 082509eb8..f05cb6a8c 100644
--- a/kernel/sound/core/memalloc.c
+++ b/kernel/sound/core/memalloc.c
@@ -124,7 +124,7 @@ static void snd_malloc_dev_iram(struct snd_dma_buffer *dmab, size_t size)
dmab->addr = 0;
if (dev->of_node)
- pool = of_get_named_gen_pool(dev->of_node, "iram", 0);
+ pool = of_gen_pool_get(dev->of_node, "iram", 0);
if (!pool)
return;