]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/6.6.26/spi-s3c64xx-sort-headers-alphabetically.patch
Linux 6.1.85
[thirdparty/kernel/stable-queue.git] / releases / 6.6.26 / spi-s3c64xx-sort-headers-alphabetically.patch
1 From 2d4329b69296195ce3a1d6b95873ef86a65b485e Mon Sep 17 00:00:00 2001
2 From: Sasha Levin <sashal@kernel.org>
3 Date: Wed, 7 Feb 2024 12:04:15 +0000
4 Subject: spi: s3c64xx: sort headers alphabetically
5
6 From: Tudor Ambarus <tudor.ambarus@linaro.org>
7
8 [ Upstream commit a77ce80f63f06d7ae933c332ed77c79136fa69b0 ]
9
10 Sorting headers alphabetically helps locating duplicates,
11 and makes it easier to figure out where to insert new headers.
12
13 Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
14 Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
15 Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
16 Link: https://lore.kernel.org/r/20240207120431.2766269-2-tudor.ambarus@linaro.org
17 Signed-off-by: Mark Brown <broonie@kernel.org>
18 Stable-dep-of: a3d3eab627bb ("spi: s3c64xx: Use DMA mode from fifo size")
19 Signed-off-by: Sasha Levin <sashal@kernel.org>
20 ---
21 drivers/spi/spi-s3c64xx.c | 13 ++++++-------
22 1 file changed, 6 insertions(+), 7 deletions(-)
23
24 diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
25 index 432ec60d35684..26d389d95af92 100644
26 --- a/drivers/spi/spi-s3c64xx.c
27 +++ b/drivers/spi/spi-s3c64xx.c
28 @@ -3,19 +3,18 @@
29 // Copyright (c) 2009 Samsung Electronics Co., Ltd.
30 // Jaswinder Singh <jassi.brar@samsung.com>
31
32 -#include <linux/init.h>
33 -#include <linux/module.h>
34 -#include <linux/interrupt.h>
35 -#include <linux/delay.h>
36 #include <linux/clk.h>
37 +#include <linux/delay.h>
38 #include <linux/dma-mapping.h>
39 #include <linux/dmaengine.h>
40 +#include <linux/init.h>
41 +#include <linux/interrupt.h>
42 +#include <linux/module.h>
43 +#include <linux/of.h>
44 +#include <linux/platform_data/spi-s3c64xx.h>
45 #include <linux/platform_device.h>
46 #include <linux/pm_runtime.h>
47 #include <linux/spi/spi.h>
48 -#include <linux/of.h>
49 -
50 -#include <linux/platform_data/spi-s3c64xx.h>
51
52 #define MAX_SPI_PORTS 12
53 #define S3C64XX_SPI_QUIRK_CS_AUTO (1 << 1)
54 --
55 2.43.0
56