]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - sound/soc/blackfin/bf5xx-tdm-pcm.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit...
[mv-sheeva.git] / sound / soc / blackfin / bf5xx-tdm-pcm.c
index a8c73cbbd68512198e47b25f478aba52496dc6d1..6bac1ac1a315b72ee8b9fe134f4b94665a2cb47b 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>
@@ -244,8 +244,7 @@ static int bf5xx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream)
        buf->area = dma_alloc_coherent(pcm->card->dev, size * 4,
                &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;