]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - sound/soc/blackfin/bf5xx-i2s-pcm.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland...
[mv-sheeva.git] / sound / soc / blackfin / bf5xx-i2s-pcm.c
index 62fbb8459569a6d78690bbf7b100a3aa47ea745a..1d2a1adf25759070cfa96a3cab81c89c31630b30 100644 (file)
@@ -29,8 +29,8 @@
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
-#include <linux/slab.h>
 #include <linux/dma-mapping.h>
+#include <linux/gfp.h>
 
 #include <sound/core.h>
 #include <sound/pcm.h>
@@ -207,8 +207,7 @@ static int bf5xx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream)
        buf->area = dma_alloc_coherent(pcm->card->dev, size,
                        &buf->addr, GFP_KERNEL);
        if (!buf->area) {
-               pr_err("Failed to allocate dma memory \
-                       Please increase uncached DMA memory region\n");
+               pr_err("Failed to allocate dma memory - Please increase uncached DMA memory region\n");
                return -ENOMEM;
        }
        buf->bytes = size;