summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@linaro.org>2024-02-07 12:04:17 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-10 16:35:59 +0200
commit56aeaed8c82287771eced00faa96a057be6355f9 (patch)
treeb038caa7a99ba7762e0c60db52c67c8d24e48463
parent0df4616ef533c85d20436365d1bdd39d468e1adc (diff)
downloadlinux-stable-56aeaed8c82287771eced00faa96a057be6355f9.tar.gz
linux-stable-56aeaed8c82287771eced00faa96a057be6355f9.tar.bz2
linux-stable-56aeaed8c82287771eced00faa96a057be6355f9.zip
spi: s3c64xx: explicitly include <linux/bits.h>
[ Upstream commit 4568fa574fcef3811a8140702979f076ef0f5bc0 ] The driver uses GENMASK() but does not include <linux/bits.h>. It is good practice to directly include all headers used, it avoids implicit dependencies and spurious breakage if someone rearranges headers and causes the implicit include to vanish. Include the missing header. Reviewed-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Link: https://lore.kernel.org/r/20240207120431.2766269-4-tudor.ambarus@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org> Stable-dep-of: a3d3eab627bb ("spi: s3c64xx: Use DMA mode from fifo size") Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--drivers/spi/spi-s3c64xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index 26d389d95af9..1e519b1537e7 100644
--- a/drivers/spi/spi-s3c64xx.c
+++ b/drivers/spi/spi-s3c64xx.c
@@ -3,6 +3,7 @@
// Copyright (c) 2009 Samsung Electronics Co., Ltd.
// Jaswinder Singh <jassi.brar@samsung.com>
+#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>