瀏覽代碼

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>
Joe Perches 10 年之前
父節點
當前提交
08acf38e36
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/dma/sh/rcar-dmac.c

+ 1 - 1
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)