From 19d703da05de6495adfc0ec9aec927d2fce99af6 Mon Sep 17 00:00:00 2001 From: Steven Toth Date: Thu, 22 May 2008 18:06:41 -0300 Subject: [PATCH] V4L/DVB (8270): sms1xxx: header include cleanups and unexport symbols Signed-off-by: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- drivers/media/mdtv/smscoreapi.c | 18 ------------------ 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"); MODULE_AUTHOR("Anatoly Greenblatt,,, (anatolyg@siano-ms.com)"); MODULE_LICENSE("GPL"); -EXPORT_SYMBOL(smscore_registry_setmode); -EXPORT_SYMBOL(smscore_registry_getmode); -EXPORT_SYMBOL(smscore_register_hotplug); -EXPORT_SYMBOL(smscore_unregister_hotplug); -EXPORT_SYMBOL(smscore_register_device); -EXPORT_SYMBOL(smscore_unregister_device); -EXPORT_SYMBOL(smscore_start_device); -EXPORT_SYMBOL(smscore_load_firmware); -EXPORT_SYMBOL(smscore_set_device_mode); -EXPORT_SYMBOL(smscore_get_device_mode); -EXPORT_SYMBOL(smscore_register_client); -EXPORT_SYMBOL(smscore_unregister_client); -EXPORT_SYMBOL(smsclient_sendrequest); -EXPORT_SYMBOL(smscore_onresponse); -EXPORT_SYMBOL(smscore_get_common_buffer_size); -EXPORT_SYMBOL(smscore_map_common_buffer); -EXPORT_SYMBOL(smscore_getbuffer); -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 @@ #ifndef __smscoreapi_h__ #define __smscoreapi_h__ -#include "dmxdev.h" -#include "dvbdev.h" -#include "dvb_demux.h" -#include "dvb_frontend.h" - -/* From sysksyms.h */ - #include #include #include @@ -36,6 +29,11 @@ #include #include +#include "dmxdev.h" +#include "dvbdev.h" +#include "dvb_demux.h" +#include "dvb_frontend.h" + #include typedef struct mutex kmutex_t; @@ -46,8 +44,6 @@ typedef struct mutex kmutex_t; #define kmutex_unlock(_p_) mutex_unlock(_p_) -/* End sysksyms.h */ - #ifndef min #define min(a,b) (((a) < (b)) ? (a) : (b)) #endif @@ -118,8 +114,6 @@ typedef struct _smsclient_params void *context; } smsclient_params_t; -/* Begin types.h */ - // GPIO definitions for antenna frequency domain control (SMS8021) #define SMS_ANTENNA_GPIO_0 1 #define SMS_ANTENNA_GPIO_1 0 @@ -477,8 +471,6 @@ typedef struct SMSHOSTLIB_I2C_RES_S UINT8 Data[1]; } SMSHOSTLIB_I2C_RES_ST; -/* End types.h */ - typedef struct _smsdvb_client { struct list_head entry; -- GitLab