projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f563685
)
dmaengine: rcar-dmac: Use DECLARE_BITMAP
author
Joe Perches
<joe@perches.com>
Wed, 20 May 2015 01:37:50 +0000
(18:37 -0700)
committer
Vinod Koul
<vinod.koul@intel.com>
Mon, 25 May 2015 17:12:10 +0000
(22:42 +0530)
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>
drivers/dma/sh/rcar-dmac.c
patch
|
blob
|
history
diff --git
a/drivers/dma/sh/rcar-dmac.c
b/drivers/dma/sh/rcar-dmac.c
index a18d16cc479559e2ca7719eebe8755c7a64d242b..d5423a669ea0a787c958ee660a4aa1734cae4bf8 100644
(file)
--- a/
drivers/dma/sh/rcar-dmac.c
+++ b/
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)