aboutsummaryrefslogtreecommitdiff
path: root/drivers/dma/sa11x0-dma.c
diff options
context:
space:
mode:
authorGravatar Kedareswara rao Appana <appana.durga.rao@xilinx.com> 2015-03-30 18:48:29 +0530
committerGravatar Vinod Koul <vinod.koul@intel.com> 2015-04-17 23:18:53 +0530
commite60841b441e1b3d176f235f36c79158dd2ed3ed8 (patch)
tree00664688093e5247912efe4021824c6f31654fa9 /drivers/dma/sa11x0-dma.c
parentdmaengine: fsl_raid: statify fsl_re_chan_probe (diff)
downloadlinux-e60841b441e1b3d176f235f36c79158dd2ed3ed8.tar.gz
linux-e60841b441e1b3d176f235f36c79158dd2ed3ed8.tar.bz2
linux-e60841b441e1b3d176f235f36c79158dd2ed3ed8.zip
dmaengine: vdma: Fix compilation warnings
This patch fixes the following compilation warnings. In file included from drivers/dma/xilinx/xilinx_vdma.c:26:0: include/linux/dmapool.h:18:4: warning: 'struct device' declared inside parameter list size_t size, size_t align, size_t allocation); ^ include/linux/dmapool.h:18:4: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/dmapool.h:31:7: warning: 'struct device' declared inside parameter list size_t size, size_t align, size_t allocation); ^ drivers/dma/xilinx/xilinx_vdma.c: In function 'xilinx_vdma_alloc_chan_resources': drivers/dma/xilinx/xilinx_vdma.c:501:20: warning: passing argument 2 of 'dma_pool_create' from incompatible pointer type chan->desc_pool = dma_pool_create("xilinx_vdma_desc_pool", ^ In file included from drivers/dma/xilinx/xilinx_vdma.c:26:0: include/linux/dmapool.h:17:18: note: expected 'struct device *' but argument is of type 'struct device *' struct dma_pool *dma_pool_create(const char *name, struct device *dev, . Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/sa11x0-dma.c')
0 files changed, 0 insertions, 0 deletions