[PATCH] fixup! spi: add per-driver bits-per-word mask

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Apr 7 02:59:10 PDT 2023


From: Ahmad Fatoum <ahmad at a3f.at>

Fixed up commit introduces instances of the BIT() and GENMASK() macros
into the file. Add the appropriate header to go along with it.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 include/spi/spi.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/spi/spi.h b/include/spi/spi.h
index d479e4f34f0c..f806c7a30b36 100644
--- a/include/spi/spi.h
+++ b/include/spi/spi.h
@@ -6,6 +6,7 @@
 #include <linux/err.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/bitops.h>
 
 struct spi_controller_mem_ops;
 
-- 
2.39.2




More information about the barebox mailing list