summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi-nor/sfdp.c
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@linaro.org>2023-02-02 15:46:28 +0100
committerTudor Ambarus <tudor.ambarus@linaro.org>2023-02-06 09:37:03 +0100
commit893fd950c89d516a7cf365700b2bd7bb3efc15a5 (patch)
treef1572bded0639c06f3a3aede802d57a734eb9f60 /drivers/mtd/spi-nor/sfdp.c
parentmtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type (diff)
downloadlinux-893fd950c89d516a7cf365700b2bd7bb3efc15a5.tar.xz
linux-893fd950c89d516a7cf365700b2bd7bb3efc15a5.zip
mtd: spi-nor: Sort headers alphabetically
Sort headers alphabetically - it helps locating duplicates, and makes it easier to figure out where to insert new headers. Alphabetic order should also prove that each header is self-contained, i.e. can be included without prerequisites. Link: https://lore.kernel.org/r/20230202144628.14443-1-tudor.ambarus@linaro.org Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Diffstat (limited to 'drivers/mtd/spi-nor/sfdp.c')
-rw-r--r--drivers/mtd/spi-nor/sfdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi-nor/sfdp.c b/drivers/mtd/spi-nor/sfdp.c
index 526c5d57b905..298ab5e53a8c 100644
--- a/drivers/mtd/spi-nor/sfdp.c
+++ b/drivers/mtd/spi-nor/sfdp.c
@@ -5,9 +5,9 @@
*/
#include <linux/bitfield.h>
+#include <linux/mtd/spi-nor.h>
#include <linux/slab.h>
#include <linux/sort.h>
-#include <linux/mtd/spi-nor.h>
#include "core.h"