summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-05-14 19:28:17 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-05-14 19:28:17 +0000
commit99a8dbb1166ea0866ab85aa6990517d75c3d0cd6 (patch)
treeae05b152ad131dbe922d80bda272c683537c7c55
parent3e3ae9acd7a21aadc994ca194d5799c0cf441a7a (diff)
downloadmediapointer-dvb-s2-99a8dbb1166ea0866ab85aa6990517d75c3d0cd6.tar.gz
mediapointer-dvb-s2-99a8dbb1166ea0866ab85aa6990517d75c3d0cd6.tar.bz2
Siano: move dvb-api headers' includes to dvb adapter
From: Uri Shkolnik <uris@siano-ms.com> Move the DVB-API v3 headers' include list from the core component to the smsdvb (DVB adapter) which is the only one that uses them. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--linux/drivers/media/dvb/siano/smscoreapi.h7
-rw-r--r--linux/drivers/media/dvb/siano/smsdvb.c5
2 files changed, 5 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/siano/smscoreapi.h b/linux/drivers/media/dvb/siano/smscoreapi.h
index d98b4a749..0310c3a30 100644
--- a/linux/drivers/media/dvb/siano/smscoreapi.h
+++ b/linux/drivers/media/dvb/siano/smscoreapi.h
@@ -35,13 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <asm/page.h>
#include "compat.h"
-#define SMS_DVB3_SUBSYS
-#ifdef SMS_DVB3_SUBSYS
-#include "dmxdev.h"
-#include "dvbdev.h"
-#include "dvb_demux.h"
-#include "dvb_frontend.h"
-#endif
#define kmutex_init(_p_) mutex_init(_p_)
#define kmutex_lock(_p_) mutex_lock(_p_)
diff --git a/linux/drivers/media/dvb/siano/smsdvb.c b/linux/drivers/media/dvb/siano/smsdvb.c
index f43c7f543..39421ee6f 100644
--- a/linux/drivers/media/dvb/siano/smsdvb.c
+++ b/linux/drivers/media/dvb/siano/smsdvb.c
@@ -22,6 +22,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <linux/module.h>
#include <linux/init.h>
+#include "dmxdev.h"
+#include "dvbdev.h"
+#include "dvb_demux.h"
+#include "dvb_frontend.h"
+
#include "smscoreapi.h"
#include "smsendian.h"
#include "sms-cards.h"