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

index 57a5498f58bbb493dc8379c0341e45ea33e6a2ac..25c00601b8b34fdc0c9d45689781384979100da2 100644 (file)
@@ -7,7 +7,7 @@
 #ifndef __DENALI_H__
 #define __DENALI_H__
 
-#include <linux/bitops.h>
+#include <linux/bits.h>
 #include <linux/completion.h>
 #include <linux/mtd/rawnand.h>
 #include <linux/spinlock_types.h>