Commit 08acf38e authored by Joe Perches's avatar Joe Perches Committed by Vinod Koul

dmaengine: rcar-dmac: Use DECLARE_BITMAP

Use the generic mechanism to declare a bitmap instead of unsigned long.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent f5636854
...@@ -183,7 +183,7 @@ struct rcar_dmac { ...@@ -183,7 +183,7 @@ struct rcar_dmac {
unsigned int n_channels; unsigned int n_channels;
struct rcar_dmac_chan *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) #define to_rcar_dmac(d) container_of(d, struct rcar_dmac, engine)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment