summaryrefslogtreecommitdiff
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2024-10-30 09:49:12 -0700
committerRob Clark <robdclark@chromium.org>2024-10-30 09:49:12 -0700
commit4a6fd06643afa99989a0e6b848e125099674227b (patch)
tree906305fd51a4813c9c2383cf6d42889d4188aea4 /rust/helpers/mutex.c
parentd6d1ad32d00714ecf9f1996173c6f98e43c5b022 (diff)
parent904bc5479896d8da7dcd3e162ce224c32c3dc6c3 (diff)
downloadlwn-4a6fd06643afa99989a0e6b848e125099674227b.tar.gz
lwn-4a6fd06643afa99989a0e6b848e125099674227b.zip
Merge remote-tracking branch 'drm-misc/drm-misc-next' into msm-next
Merging to pick up commit 785324db2d7a ("drm/msm/dp: migrate the ycbcr_420_allowed to drm_bridge"). Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'rust/helpers/mutex.c')
-rw-r--r--rust/helpers/mutex.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/helpers/mutex.c b/rust/helpers/mutex.c
index 200db7e6279f..a17ca8cdb50c 100644
--- a/rust/helpers/mutex.c
+++ b/rust/helpers/mutex.c
@@ -7,3 +7,9 @@ void rust_helper_mutex_lock(struct mutex *lock)
{
mutex_lock(lock);
}
+
+void rust_helper___mutex_init(struct mutex *mutex, const char *name,
+ struct lock_class_key *key)
+{
+ __mutex_init(mutex, name, key);
+}