diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-10-29 06:56:21 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-10-29 06:56:21 -0400 |
commit | 9f694bc7936a7e4e9c9efac2900cddaf71303c0a (patch) | |
tree | 35b4b4fe7771921b7042a3da1d5266f081205b4f /sound/core/memalloc.c | |
parent | b327d25c1c3d475d1d1217be520801283e8bdf29 (diff) |
ALSA: memalloc: Make snd_{malloc|free}_dev_iram() static
These are used only locally.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/memalloc.c')
-rw-r--r-- | sound/core/memalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c index 809fd79ecad6..278248b8f22a 100644 --- a/sound/core/memalloc.c +++ b/sound/core/memalloc.c | |||
@@ -167,7 +167,7 @@ static void snd_free_dev_pages(struct device *dev, size_t size, void *ptr, | |||
167 | * | 167 | * |
168 | * This function requires iram phandle provided via of_node | 168 | * This function requires iram phandle provided via of_node |
169 | */ | 169 | */ |
170 | void snd_malloc_dev_iram(struct snd_dma_buffer *dmab, size_t size) | 170 | static void snd_malloc_dev_iram(struct snd_dma_buffer *dmab, size_t size) |
171 | { | 171 | { |
172 | struct device *dev = dmab->dev.dev; | 172 | struct device *dev = dmab->dev.dev; |
173 | struct gen_pool *pool = NULL; | 173 | struct gen_pool *pool = NULL; |
@@ -192,7 +192,7 @@ void snd_malloc_dev_iram(struct snd_dma_buffer *dmab, size_t size) | |||
192 | * snd_free_dev_iram - free allocated specific memory from on-chip internal ram | 192 | * snd_free_dev_iram - free allocated specific memory from on-chip internal ram |
193 | * @dmab: buffer allocation record to store the allocated data | 193 | * @dmab: buffer allocation record to store the allocated data |
194 | */ | 194 | */ |
195 | void snd_free_dev_iram(struct snd_dma_buffer *dmab) | 195 | static void snd_free_dev_iram(struct snd_dma_buffer *dmab) |
196 | { | 196 | { |
197 | struct gen_pool *pool = dmab->private_data; | 197 | struct gen_pool *pool = dmab->private_data; |
198 | 198 | ||