aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-05-22 17:06:41 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:20:39 -0400
commit19d703da05de6495adfc0ec9aec927d2fce99af6 (patch)
tree4ace5dc3a6eb04f8fb51d5140e3852728546913e
parent8d4f9d0e0bb8b8191b525bd41eddadaf831e47ef (diff)
V4L/DVB (8270): sms1xxx: header include cleanups and unexport symbols
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.c18
-rw-r--r--drivers/media/mdtv/smscoreapi.h18
2 files changed, 5 insertions, 31 deletions
diff --git a/drivers/media/mdtv/smscoreapi.c b/drivers/media/mdtv/smscoreapi.c
index 524818f409f1..b261fe2cee5e 100644
--- a/drivers/media/mdtv/smscoreapi.c
+++ b/drivers/media/mdtv/smscoreapi.c
@@ -1176,21 +1176,3 @@ MODULE_DESCRIPTION("smscore");
1176MODULE_AUTHOR("Anatoly Greenblatt,,, (anatolyg@siano-ms.com)"); 1176MODULE_AUTHOR("Anatoly Greenblatt,,, (anatolyg@siano-ms.com)");
1177MODULE_LICENSE("GPL"); 1177MODULE_LICENSE("GPL");
1178 1178
1179EXPORT_SYMBOL(smscore_registry_setmode);
1180EXPORT_SYMBOL(smscore_registry_getmode);
1181EXPORT_SYMBOL(smscore_register_hotplug);
1182EXPORT_SYMBOL(smscore_unregister_hotplug);
1183EXPORT_SYMBOL(smscore_register_device);
1184EXPORT_SYMBOL(smscore_unregister_device);
1185EXPORT_SYMBOL(smscore_start_device);
1186EXPORT_SYMBOL(smscore_load_firmware);
1187EXPORT_SYMBOL(smscore_set_device_mode);
1188EXPORT_SYMBOL(smscore_get_device_mode);
1189EXPORT_SYMBOL(smscore_register_client);
1190EXPORT_SYMBOL(smscore_unregister_client);
1191EXPORT_SYMBOL(smsclient_sendrequest);
1192EXPORT_SYMBOL(smscore_onresponse);
1193EXPORT_SYMBOL(smscore_get_common_buffer_size);
1194EXPORT_SYMBOL(smscore_map_common_buffer);
1195EXPORT_SYMBOL(smscore_getbuffer);
1196EXPORT_SYMBOL(smscore_putbuffer);
diff --git a/drivers/media/mdtv/smscoreapi.h b/drivers/media/mdtv/smscoreapi.h
index 5e06ade04f43..53c1d35da68f 100644
--- a/drivers/media/mdtv/smscoreapi.h
+++ b/drivers/media/mdtv/smscoreapi.h
@@ -22,13 +22,6 @@
22#ifndef __smscoreapi_h__ 22#ifndef __smscoreapi_h__
23#define __smscoreapi_h__ 23#define __smscoreapi_h__
24 24
25#include "dmxdev.h"
26#include "dvbdev.h"
27#include "dvb_demux.h"
28#include "dvb_frontend.h"
29
30/* From sysksyms.h */
31
32#include <linux/version.h> 25#include <linux/version.h>
33#include <linux/device.h> 26#include <linux/device.h>
34#include <linux/list.h> 27#include <linux/list.h>
@@ -36,6 +29,11 @@
36#include <asm/scatterlist.h> 29#include <asm/scatterlist.h>
37#include <asm/page.h> 30#include <asm/page.h>
38 31
32#include "dmxdev.h"
33#include "dvbdev.h"
34#include "dvb_demux.h"
35#include "dvb_frontend.h"
36
39#include <linux/mutex.h> 37#include <linux/mutex.h>
40 38
41typedef struct mutex kmutex_t; 39typedef struct mutex kmutex_t;
@@ -46,8 +44,6 @@ typedef struct mutex kmutex_t;
46#define kmutex_unlock(_p_) mutex_unlock(_p_) 44#define kmutex_unlock(_p_) mutex_unlock(_p_)
47 45
48 46
49/* End sysksyms.h */
50
51#ifndef min 47#ifndef min
52#define min(a,b) (((a) < (b)) ? (a) : (b)) 48#define min(a,b) (((a) < (b)) ? (a) : (b))
53#endif 49#endif
@@ -118,8 +114,6 @@ typedef struct _smsclient_params
118 void *context; 114 void *context;
119} smsclient_params_t; 115} smsclient_params_t;
120 116
121/* Begin types.h */
122
123// GPIO definitions for antenna frequency domain control (SMS8021) 117// GPIO definitions for antenna frequency domain control (SMS8021)
124#define SMS_ANTENNA_GPIO_0 1 118#define SMS_ANTENNA_GPIO_0 1
125#define SMS_ANTENNA_GPIO_1 0 119#define SMS_ANTENNA_GPIO_1 0
@@ -477,8 +471,6 @@ typedef struct SMSHOSTLIB_I2C_RES_S
477 UINT8 Data[1]; 471 UINT8 Data[1];
478} SMSHOSTLIB_I2C_RES_ST; 472} SMSHOSTLIB_I2C_RES_ST;
479 473
480/* End types.h */
481
482typedef struct _smsdvb_client 474typedef struct _smsdvb_client
483{ 475{
484 struct list_head entry; 476 struct list_head entry;