]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mtd: spinand: Clean the flags section
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 5 Feb 2026 18:49:15 +0000 (19:49 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 25 Feb 2026 16:39:28 +0000 (17:39 +0100)
Mention that we are declaring the main SPI NAND flags with a comment.
Align the values with tabs.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
include/linux/mtd/spinand.h

index 6a024cf1c53ac198f43a2b49480c9b0dcfb50f68..58abd306ebe394d62ce329efca9e1f62543ebdfd 100644 (file)
@@ -477,8 +477,9 @@ struct spinand_ecc_info {
        const struct mtd_ooblayout_ops *ooblayout;
 };
 
-#define SPINAND_HAS_QE_BIT             BIT(0)
-#define SPINAND_HAS_CR_FEAT_BIT                BIT(1)
+/* SPI NAND flags */
+#define SPINAND_HAS_QE_BIT                             BIT(0)
+#define SPINAND_HAS_CR_FEAT_BIT                                BIT(1)
 #define SPINAND_HAS_PROG_PLANE_SELECT_BIT              BIT(2)
 #define SPINAND_HAS_READ_PLANE_SELECT_BIT              BIT(3)
 #define SPINAND_NO_RAW_ACCESS                          BIT(4)