Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Joe Perches and committed by
Vinod Koul
08acf38e f5636854

+1 -1
+1 -1
drivers/dma/sh/rcar-dmac.c
··· 183 183 unsigned int n_channels; 184 184 struct rcar_dmac_chan *channels; 185 185 186 - unsigned long modules[256 / BITS_PER_LONG]; 186 + DECLARE_BITMAP(modules, 256); 187 187 }; 188 188 189 189 #define to_rcar_dmac(d) container_of(d, struct rcar_dmac, engine)