Browse Source

V4L/DVB (11813): Siano: move dvb-api headers' includes to dvb adapter

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.

Signed-off-by: Uri Shkolnik <uris@siano-ms.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Uri Shkolnik 16 years ago
parent
commit
c9679e3b0c
2 changed files with 5 additions and 7 deletions
  1. 0 7
      drivers/media/dvb/siano/smscoreapi.h
  2. 5 0
      drivers/media/dvb/siano/smsdvb.c

+ 0 - 7
drivers/media/dvb/siano/smscoreapi.h

@@ -34,13 +34,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
 #include <asm/page.h>
 #include <asm/page.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_init(_p_) mutex_init(_p_)
 #define kmutex_lock(_p_) mutex_lock(_p_)
 #define kmutex_lock(_p_) mutex_lock(_p_)

+ 5 - 0
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/module.h>
 #include <linux/init.h>
 #include <linux/init.h>
 
 
+#include "dmxdev.h"
+#include "dvbdev.h"
+#include "dvb_demux.h"
+#include "dvb_frontend.h"
+
 #include "smscoreapi.h"
 #include "smscoreapi.h"
 #include "smsendian.h"
 #include "smsendian.h"
 #include "sms-cards.h"
 #include "sms-cards.h"