spi: drop unneeded spi.h header include from spinand.h

Drop unneeded spi.h header include from spinand.h, nothing included by
spi.h is actually used in this header and .c should correctly included
spi.h if actually needed.

Replace spi.h with linux/bitops.h as this is what is actually required
for spinand.h

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Christian Marangi
2025-04-07 22:01:53 +02:00
committed by Tom Rini
parent 53e83caa87
commit 225d1ec702

View File

@@ -17,7 +17,7 @@
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/spi/spi-mem.h> #include <linux/spi/spi-mem.h>
#else #else
#include <spi.h> #include <linux/bitops.h>
#include <spi-mem.h> #include <spi-mem.h>
#include <linux/mtd/nand.h> #include <linux/mtd/nand.h>
#endif #endif