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>
This commit is contained in:
Joe Perches 2015-05-19 18:37:50 -07:00 committed by Vinod Koul
parent f5636854f3
commit 08acf38e36
1 changed files with 1 additions and 1 deletions

View File

@ -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)