Commit 3eee0472 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[media] ec168: convert to new DVB USB

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent f093c388
...@@ -374,7 +374,7 @@ config DVB_USB_FRIIO ...@@ -374,7 +374,7 @@ config DVB_USB_FRIIO
config DVB_USB_EC168 config DVB_USB_EC168
tristate "E3C EC168 DVB-T USB2.0 support" tristate "E3C EC168 DVB-T USB2.0 support"
depends on DVB_USB depends on DVB_USB_V2
select DVB_EC100 select DVB_EC100
select MEDIA_TUNER_MXL5005S if !MEDIA_TUNER_CUSTOMISE select MEDIA_TUNER_MXL5005S if !MEDIA_TUNER_CUSTOMISE
help help
......
This diff is collapsed.
...@@ -23,7 +23,17 @@ ...@@ -23,7 +23,17 @@
#define EC168_H #define EC168_H
#define DVB_USB_LOG_PREFIX "ec168" #define DVB_USB_LOG_PREFIX "ec168"
#include "dvb-usb.h" #include "dvb_usb.h"
#ifdef CONFIG_DVB_USB_DEBUG
#define dprintk(var, level, args...) \
do { if ((var & level)) printk(args); } while (0)
#define DVB_USB_DEBUG_STATUS
#else
#define dprintk(args...)
#define debug_dump(b, l, func)
#define DVB_USB_DEBUG_STATUS " (debugging is not enabled)"
#endif
#define deb_info(args...) dprintk(dvb_usb_ec168_debug, 0x01, args) #define deb_info(args...) dprintk(dvb_usb_ec168_debug, 0x01, args)
#define deb_rc(args...) dprintk(dvb_usb_ec168_debug, 0x02, args) #define deb_rc(args...) dprintk(dvb_usb_ec168_debug, 0x02, args)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment