diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-10-16 13:33:21 +0900 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-11-05 10:57:07 +0100 |
commit | 321e54047b611a07e4d4478f28f636fd4dd6e744 (patch) | |
tree | c7b76c1f87a1836b44c105d1671bde8f72865ac7 | |
parent | 861fbd6e808eb2a0b0d99f7a6467a7dc4ae9fb19 (diff) | |
download | linux-321e54047b611a07e4d4478f28f636fd4dd6e744.tar.gz linux-321e54047b611a07e4d4478f28f636fd4dd6e744.tar.bz2 linux-321e54047b611a07e4d4478f28f636fd4dd6e744.zip |
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>
-rw-r--r-- | drivers/mtd/nand/raw/denali.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/denali.h b/drivers/mtd/nand/raw/denali.h index 57a5498f58bb..25c00601b8b3 100644 --- a/drivers/mtd/nand/raw/denali.h +++ b/drivers/mtd/nand/raw/denali.h @@ -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> |