Re: [PATCH] dma: vdma: Fix compilation warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kedareswara,

On Mon, 30 Mar 2015 14:30:26 +0530 Kedareswara rao Appana <appana.durga.rao@xxxxxxxxxx> wrote:
>
> diff --git a/include/linux/dmapool.h b/include/linux/dmapool.h
> index 022e34f..01c91bb 100644
> --- a/include/linux/dmapool.h
> +++ b/include/linux/dmapool.h
> @@ -13,6 +13,7 @@
>  
>  #include <asm/io.h>
>  #include <asm/scatterlist.h>
> +#include <linux/device.h>
>  
>  struct dma_pool *dma_pool_create(const char *name, struct device *dev, 
>  			size_t size, size_t align, size_t allocation);

This might be to much, all it really needs is a

struct device;

line ...

-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx

Attachment: pgp1DbNxRVnkE.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux