summaryrefslogtreecommitdiffstats
path: root/drivers/dma/sh
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-05-19 18:37:50 -0700
committerVinod Koul <vinod.koul@intel.com>2015-05-25 22:42:10 +0530
commit08acf38e3615a5cf641d84f815f3f3ebd2953243 (patch)
treec734ddffb13b0ae9a69b4bd49444b59a1df2d4de /drivers/dma/sh
parentf5636854f3fcee3dcb45a9d0122cf099e72615e5 (diff)
downloadop-kernel-dev-08acf38e3615a5cf641d84f815f3f3ebd2953243.zip
op-kernel-dev-08acf38e3615a5cf641d84f815f3f3ebd2953243.tar.gz
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>
Diffstat (limited to 'drivers/dma/sh')
-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 a18d16c..d5423a6 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)
OpenPOWER on IntegriCloud