diff options
author | Steven Toth <stoth@hauppauge.com> | 2008-05-22 17:06:41 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:20:39 -0400 |
commit | 19d703da05de6495adfc0ec9aec927d2fce99af6 (patch) | |
tree | 4ace5dc3a6eb04f8fb51d5140e3852728546913e | |
parent | 8d4f9d0e0bb8b8191b525bd41eddadaf831e47ef (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.c | 18 | ||||
-rw-r--r-- | drivers/media/mdtv/smscoreapi.h | 18 |
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"); | |||
1176 | MODULE_AUTHOR("Anatoly Greenblatt,,, (anatolyg@siano-ms.com)"); | 1176 | MODULE_AUTHOR("Anatoly Greenblatt,,, (anatolyg@siano-ms.com)"); |
1177 | MODULE_LICENSE("GPL"); | 1177 | MODULE_LICENSE("GPL"); |
1178 | 1178 | ||
1179 | EXPORT_SYMBOL(smscore_registry_setmode); | ||
1180 | EXPORT_SYMBOL(smscore_registry_getmode); | ||
1181 | EXPORT_SYMBOL(smscore_register_hotplug); | ||
1182 | EXPORT_SYMBOL(smscore_unregister_hotplug); | ||
1183 | EXPORT_SYMBOL(smscore_register_device); | ||
1184 | EXPORT_SYMBOL(smscore_unregister_device); | ||
1185 | EXPORT_SYMBOL(smscore_start_device); | ||
1186 | EXPORT_SYMBOL(smscore_load_firmware); | ||
1187 | EXPORT_SYMBOL(smscore_set_device_mode); | ||
1188 | EXPORT_SYMBOL(smscore_get_device_mode); | ||
1189 | EXPORT_SYMBOL(smscore_register_client); | ||
1190 | EXPORT_SYMBOL(smscore_unregister_client); | ||
1191 | EXPORT_SYMBOL(smsclient_sendrequest); | ||
1192 | EXPORT_SYMBOL(smscore_onresponse); | ||
1193 | EXPORT_SYMBOL(smscore_get_common_buffer_size); | ||
1194 | EXPORT_SYMBOL(smscore_map_common_buffer); | ||
1195 | EXPORT_SYMBOL(smscore_getbuffer); | ||
1196 | EXPORT_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 | ||
41 | typedef struct mutex kmutex_t; | 39 | typedef 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 | |||
482 | typedef struct _smsdvb_client | 474 | typedef struct _smsdvb_client |
483 | { | 475 | { |
484 | struct list_head entry; | 476 | struct list_head entry; |