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:
parent
f5636854f3
commit
08acf38e36
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue