summaryrefslogtreecommitdiff
path: root/include/linux/mvf_sema4.h
diff options
context:
space:
mode:
authorAnthony Felice <tony.felice@timesys.com>2013-10-04 16:58:49 -0400
committerAnthony Felice <tony.felice@timesys.com>2013-10-09 13:24:35 -0400
commit4225cb2038b7187b4b1cab6570b7e9c526aa72a3 (patch)
tree0bdf5bd10e223a2c31e0b6f0d1bf550abad5383a /include/linux/mvf_sema4.h
parent8ee6bb297e2b0f495cc40fecdcb33b568fbe5410 (diff)
Add mvf_sema4.h to header install list and allow to be included outside of the kernel.3.0-pcl052-ts1.1
Diffstat (limited to 'include/linux/mvf_sema4.h')
-rw-r--r--include/linux/mvf_sema4.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mvf_sema4.h b/include/linux/mvf_sema4.h
index 198f3f249ec5..4e94276396de 100644
--- a/include/linux/mvf_sema4.h
+++ b/include/linux/mvf_sema4.h
@@ -9,6 +9,8 @@
#define MVF_RESERVED1_SEMAPHORE_NUMBER (4)
#define MVF_RESERVED2_SEMAPHORE_NUMBER (5)
+#ifdef __KERNEL__
+
typedef struct mvf_sema4_handle_struct {
int gate_num;
wait_queue_head_t wait_queue;
@@ -28,3 +30,4 @@ int mvf_sema4_unlock(MVF_SEMA4 *sema4);
int mvf_sema4_test(MVF_SEMA4 *sema4);
#endif
+#endif