summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-05-20 03:37:50 +0200
committerVinod Koul <vinod.koul@intel.com>2015-05-25 19:12:10 +0200
commit08acf38e3615a5cf641d84f815f3f3ebd2953243 (patch)
treec734ddffb13b0ae9a69b4bd49444b59a1df2d4de
parentdmaengine: pl330: Initialize pl330 for pl330_prep_dma_memcpy after NULL check... (diff)
downloadlinux-08acf38e3615a5cf641d84f815f3f3ebd2953243.tar.xz
linux-08acf38e3615a5cf641d84f815f3f3ebd2953243.zip
dmaengine: rcar-dmac: Use DECLARE_BITMAP
Use the generic mechanism to declare a bitmap instead of unsigned long. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r--drivers/dma/sh/rcar-dmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/sh/rcar-dmac.c b/drivers/dma/sh/rcar-dmac.c
index a18d16cc4795..d5423a669ea0 100644
--- a/drivers/dma/sh/rcar-dmac.c
+++ b/drivers/dma/sh/rcar-dmac.c
@@ -183,7 +183,7 @@ struct rcar_dmac {
unsigned int n_channels;
struct rcar_dmac_chan *channels;
- unsigned long modules[256 / BITS_PER_LONG];
+ DECLARE_BITMAP(modules, 256);
};
#define to_rcar_dmac(d) container_of(d, struct rcar_dmac, engine)