X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fcore%2Fmemalloc.c;fp=sound%2Fcore%2Fmemalloc.c;h=02132561c3f845d326f2bbf34a8870efab3439d5;hb=5a0f217d96656068f0f1e5cda16c35945f979b16;hp=dbc23e35fa065decbbeb4910f39d0153073f0c36;hpb=854af9578cb84e4ca3cb1551a6be40c4e81bb455;p=linux-2.6 diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c index dbc23e35fa..02132561c3 100644 --- a/sound/core/memalloc.c +++ b/sound/core/memalloc.c @@ -105,7 +105,8 @@ struct snd_mem_list { */ static void *snd_dma_hack_alloc_coherent(struct device *dev, size_t size, - dma_addr_t *dma_handle, int flags) + dma_addr_t *dma_handle, + unsigned int __nocast flags) { void *ret; u64 dma_mask, coherent_dma_mask;