From c7915b5bd657e7e86caed1fe34e4fa2278769285 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Sat, 7 Aug 2010 03:16:36 +0200 Subject: Use a struct mutex for session_item_st.mem_mutex Suggested by scripts/checkpatch.pl --- ncr-int.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ncr-int.h') diff --git a/ncr-int.h b/ncr-int.h index e79747c..06c5e62 100644 --- a/ncr-int.h +++ b/ncr-int.h @@ -1,6 +1,7 @@ #ifndef NCR_INT_H # define NCR_INT_H +#include #include "ncr.h" #include #include "cryptodev_int.h" @@ -48,7 +49,7 @@ struct session_item_st { struct page **pages; unsigned array_size; unsigned available_pages; - struct semaphore mem_mutex; /* down when the + struct mutex mem_mutex; /* down when the * values above are changed. */ -- cgit