summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/spi/spi_bitbang.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/spi/spi_bitbang.h')
-rw-r--r--kernel/include/linux/spi/spi_bitbang.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/include/linux/spi/spi_bitbang.h b/kernel/include/linux/spi/spi_bitbang.h
index 85578d4be..154788ed2 100644
--- a/kernel/include/linux/spi/spi_bitbang.h
+++ b/kernel/include/linux/spi/spi_bitbang.h
@@ -4,7 +4,7 @@
#include <linux/workqueue.h>
struct spi_bitbang {
- spinlock_t lock;
+ struct mutex lock;
u8 busy;
u8 use_dma;
u8 flags; /* extra spi->mode support */