aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/flashchip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/flashchip.h b/include/linux/mtd/flashchip.h
index f43e9b49b751..23cc10f8e343 100644
--- a/include/linux/mtd/flashchip.h
+++ b/include/linux/mtd/flashchip.h
@@ -92,7 +92,7 @@ struct flchip {
92/* This is used to handle contention on write/erase operations 92/* This is used to handle contention on write/erase operations
93 between partitions of the same physical chip. */ 93 between partitions of the same physical chip. */
94struct flchip_shared { 94struct flchip_shared {
95 spinlock_t lock; 95 struct mutex lock;
96 struct flchip *writing; 96 struct flchip *writing;
97 struct flchip *erasing; 97 struct flchip *erasing;
98}; 98};