]> asedeno.scripts.mit.edu Git - linux.git/commit
mtd: rawnand: denali: include <linux/bits.h> instead of <linux/bitops.h>
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 16 Oct 2018 04:33:21 +0000 (13:33 +0900)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 5 Nov 2018 09:57:07 +0000 (10:57 +0100)
commit321e54047b611a07e4d4478f28f636fd4dd6e744
treec7b76c1f87a1836b44c105d1671bde8f72865ac7
parent861fbd6e808eb2a0b0d99f7a6467a7dc4ae9fb19
mtd: rawnand: denali: include <linux/bits.h> instead of <linux/bitops.h>

The reason of including <linux/bitops.h> here is just for BIT() and
GENMASK macros.

Since commit 8bd9cb51daac8 ("locking/atomics, asm-generic: Move some
macros from <linux/bitops.h> to a new <linux/bits.h> file"),
<linux/bits.h> is enough for such compile-time macros.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/denali.h