diff options
author | Tudor Ambarus <[email protected]> | 2024-02-07 12:04:17 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-02-08 16:33:27 +0000 |
commit | 4568fa574fcef3811a8140702979f076ef0f5bc0 (patch) | |
tree | 0f09e9e87b74fcd726b60493bed22fef67e5be9d | |
parent | 42a9ac378d918176e17592cbe79d8b0606f951e4 (diff) |
spi: s3c64xx: explicitly include <linux/bits.h>
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 <[email protected]>
Signed-off-by: Tudor Ambarus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | drivers/spi/spi-s3c64xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 9b8dd05360fa..5c9ac9d8dbd6 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 <[email protected]> +#include <linux/bits.h> #include <linux/clk.h> #include <linux/delay.h> #include <linux/dma-mapping.h> |