]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi: s3c64xx: explicitly include <linux/bits.h>
authorTudor Ambarus <tudor.ambarus@linaro.org>
Wed, 7 Feb 2024 12:04:17 +0000 (12:04 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 8 Feb 2024 16:33:27 +0000 (16:33 +0000)
commit4568fa574fcef3811a8140702979f076ef0f5bc0
tree0f09e9e87b74fcd726b60493bed22fef67e5be9d
parent42a9ac378d918176e17592cbe79d8b0606f951e4
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 <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>
drivers/spi/spi-s3c64xx.c