summaryrefslogtreecommitdiff
path: root/include/ubi_uboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ubi_uboot.h')
-rw-r--r--include/ubi_uboot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ubi_uboot.h b/include/ubi_uboot.h
index 60f6a5f..d2c90a6 100644
--- a/include/ubi_uboot.h
+++ b/include/ubi_uboot.h
@@ -123,7 +123,7 @@ typedef int wait_queue_head_t;
#define init_rwsem(...) do { } while (0)
#define down_read(...) do { } while (0)
#define down_write(...) do { } while (0)
-#define down_write_trylock(...) 0
+#define down_write_trylock(...) 1
#define up_read(...) do { } while (0)
#define up_write(...) do { } while (0)