aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-05-22 14:46:32 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:19:58 -0400
commit955e9ca3cdeae62e8067ede204b5a02dcde6813e (patch)
treec946c623652c94f4d99a4936432868e9795adc26
parentc6465799c38762b963bb819e033d2a56a3d3c233 (diff)
V4L/DVB (8263): sms1xxx: merge ksyms
Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/mdtv/smscoreapi.c2
-rw-r--r--drivers/media/mdtv/smscoreapi.h21
-rw-r--r--drivers/media/mdtv/smsdvb.c1
-rw-r--r--drivers/media/mdtv/smskdefs.h21
-rw-r--r--drivers/media/mdtv/smsusb.c1
5 files changed, 21 insertions, 25 deletions
diff --git a/drivers/media/mdtv/smscoreapi.c b/drivers/media/mdtv/smscoreapi.c
index 315319483798..a30be8301429 100644
--- a/drivers/media/mdtv/smscoreapi.c
+++ b/drivers/media/mdtv/smscoreapi.c
@@ -27,8 +27,6 @@
27#include <linux/delay.h> 27#include <linux/delay.h>
28#include <asm/io.h> 28#include <asm/io.h>
29 29
30#include "smskdefs.h" // device, page, scatterlist, kmutex
31
32#include <linux/firmware.h> 30#include <linux/firmware.h>
33 31
34#include "smscoreapi.h" 32#include "smscoreapi.h"
diff --git a/drivers/media/mdtv/smscoreapi.h b/drivers/media/mdtv/smscoreapi.h
index a8c025f74eb7..43ebee68f77b 100644
--- a/drivers/media/mdtv/smscoreapi.h
+++ b/drivers/media/mdtv/smscoreapi.h
@@ -1,6 +1,27 @@
1#ifndef __smscoreapi_h__ 1#ifndef __smscoreapi_h__
2#define __smscoreapi_h__ 2#define __smscoreapi_h__
3 3
4/* From sysksyms.h */
5
6#include <linux/version.h>
7#include <linux/device.h>
8#include <linux/list.h>
9#include <linux/mm.h>
10#include <asm/scatterlist.h>
11#include <asm/page.h>
12
13#include <linux/mutex.h>
14
15typedef struct mutex kmutex_t;
16
17#define kmutex_init(_p_) mutex_init(_p_)
18#define kmutex_lock(_p_) mutex_lock(_p_)
19#define kmutex_trylock(_p_) mutex_trylock(_p_)
20#define kmutex_unlock(_p_) mutex_unlock(_p_)
21
22
23/* End sysksyms.h */
24
4#ifndef min 25#ifndef min
5#define min(a,b) (((a) < (b)) ? (a) : (b)) 26#define min(a,b) (((a) < (b)) ? (a) : (b))
6#endif 27#endif
diff --git a/drivers/media/mdtv/smsdvb.c b/drivers/media/mdtv/smsdvb.c
index ecba51c8b65b..11a9b0b11cb2 100644
--- a/drivers/media/mdtv/smsdvb.c
+++ b/drivers/media/mdtv/smsdvb.c
@@ -6,7 +6,6 @@
6#include "dvb_demux.h" 6#include "dvb_demux.h"
7#include "dvb_frontend.h" 7#include "dvb_frontend.h"
8 8
9#include "smskdefs.h" // page, scatterlist, kmutex
10#include "smscoreapi.h" 9#include "smscoreapi.h"
11#include "smstypes.h" 10#include "smstypes.h"
12 11
diff --git a/drivers/media/mdtv/smskdefs.h b/drivers/media/mdtv/smskdefs.h
deleted file mode 100644
index 6874fbcdc7a8..000000000000
--- a/drivers/media/mdtv/smskdefs.h
+++ /dev/null
@@ -1,21 +0,0 @@
1#ifndef __smskdefs_h__
2#define __smskdefs_h__
3
4#include <linux/version.h>
5#include <linux/device.h>
6#include <linux/list.h>
7#include <linux/mm.h>
8#include <asm/scatterlist.h>
9#include <asm/page.h>
10
11#include <linux/mutex.h>
12
13typedef struct mutex kmutex_t;
14
15#define kmutex_init(_p_) mutex_init(_p_)
16#define kmutex_lock(_p_) mutex_lock(_p_)
17#define kmutex_trylock(_p_) mutex_trylock(_p_)
18#define kmutex_unlock(_p_) mutex_unlock(_p_)
19
20
21#endif // __smskdefs_h__
diff --git a/drivers/media/mdtv/smsusb.c b/drivers/media/mdtv/smsusb.c
index 43af826b3832..c076c046bf52 100644
--- a/drivers/media/mdtv/smsusb.c
+++ b/drivers/media/mdtv/smsusb.c
@@ -4,7 +4,6 @@
4#include <linux/usb.h> 4#include <linux/usb.h>
5#include <linux/firmware.h> 5#include <linux/firmware.h>
6 6
7#include "smskdefs.h" // page, scatterlist, kmutex
8#include "smscoreapi.h" 7#include "smscoreapi.h"
9#include "smstypes.h" 8#include "smstypes.h"
10 9