diff options
author | Joe Perches <joe@perches.com> | 2015-05-19 18:37:50 -0700 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-05-25 22:42:10 +0530 |
commit | 08acf38e3615a5cf641d84f815f3f3ebd2953243 (patch) | |
tree | c734ddffb13b0ae9a69b4bd49444b59a1df2d4de /drivers | |
parent | f5636854f3fcee3dcb45a9d0122cf099e72615e5 (diff) | |
download | linux-08acf38e3615a5cf641d84f815f3f3ebd2953243.tar.bz2 |
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')
-rw-r--r-- | drivers/dma/sh/rcar-dmac.c | 2 |
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) |