1 #ifndef CSR_FRAMEWORK_EXT_TYPES_H__
2 #define CSR_FRAMEWORK_EXT_TYPES_H__
3 /*****************************************************************************
5 (c) Cambridge Silicon Radio Limited 2010
6 All rights reserved and confidential information of CSR
8 Refer to LICENSE.txt included with this source for details
11 *****************************************************************************/
14 #include <linux/kthread.h>
15 #include <linux/semaphore.h>
22 typedef struct semaphore CsrMutexHandle;
24 #else /* __KERNEL __ */
26 typedef pthread_mutex_t CsrMutexHandle;
28 #endif /* __KERNEL__ */