diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-05-22 11:46:32 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2008-05-22 11:46:32 -0400 |
commit | c4602328a0543f0d593f700b5526b2cbc4dfdba6 (patch) | |
tree | 41d78296d7d7398cb7b73de145c66685aa648b9c /linux/drivers/media/mdtv/smskdefs.h | |
parent | ac971eee3fdc04962b491168bae7ca76c48620d6 (diff) | |
download | mediapointer-dvb-s2-c4602328a0543f0d593f700b5526b2cbc4dfdba6.tar.gz mediapointer-dvb-s2-c4602328a0543f0d593f700b5526b2cbc4dfdba6.tar.bz2 |
sms1xxx: merge ksyms
From: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/mdtv/smskdefs.h')
-rw-r--r-- | linux/drivers/media/mdtv/smskdefs.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/linux/drivers/media/mdtv/smskdefs.h b/linux/drivers/media/mdtv/smskdefs.h deleted file mode 100644 index e2483d81c..000000000 --- a/linux/drivers/media/mdtv/smskdefs.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef __smskdefs_h__ -#define __smskdefs_h__ - -#include <linux/version.h> -#include <linux/device.h> -#include <linux/list.h> -#include <linux/mm.h> -#include <asm/scatterlist.h> -#include <asm/page.h> - -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) -#include <linux/mutex.h> - -typedef struct mutex kmutex_t; - -#define kmutex_init(_p_) mutex_init(_p_) -#define kmutex_lock(_p_) mutex_lock(_p_) -#define kmutex_trylock(_p_) mutex_trylock(_p_) -#define kmutex_unlock(_p_) mutex_unlock(_p_) - -#else -#include <asm/semaphore.h> - -typedef struct semaphore kmutex_t; - -#define kmutex_init(_p_) init_MUTEX(_p_) -#define kmutex_lock(_p_) down(_p_) -#define kmutex_trylock(_p_) (!down_trylock(_p_)) -#define kmutex_unlock(_p_) up(_p_) - -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) -void *kzalloc(size_t size, int flags); -#endif -#endif // LINUX_VERSION - -#endif // __smskdefs_h__ |