diff options
Diffstat (limited to 'include/sound/memalloc.h')
-rw-r--r-- | include/sound/memalloc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/memalloc.h b/include/sound/memalloc.h index cf15b8213df7..af9983970417 100644 --- a/include/sound/memalloc.h +++ b/include/sound/memalloc.h | |||
@@ -52,6 +52,11 @@ struct snd_dma_device { | |||
52 | #else | 52 | #else |
53 | #define SNDRV_DMA_TYPE_DEV_SG SNDRV_DMA_TYPE_DEV /* no SG-buf support */ | 53 | #define SNDRV_DMA_TYPE_DEV_SG SNDRV_DMA_TYPE_DEV /* no SG-buf support */ |
54 | #endif | 54 | #endif |
55 | #ifdef CONFIG_GENERIC_ALLOCATOR | ||
56 | #define SNDRV_DMA_TYPE_DEV_IRAM 4 /* generic device iram-buffer */ | ||
57 | #else | ||
58 | #define SNDRV_DMA_TYPE_DEV_IRAM SNDRV_DMA_TYPE_DEV | ||
59 | #endif | ||
55 | 60 | ||
56 | /* | 61 | /* |
57 | * info for buffer allocation | 62 | * info for buffer allocation |