[media] af9035: convert to new DVB USB

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Antti Palosaari 2012-06-17 23:15:03 -03:00 committed by Mauro Carvalho Chehab
parent 191f79a4d7
commit 5da2aecb46
3 changed files with 300 additions and 461 deletions

View File

@ -448,7 +448,7 @@ config DVB_USB_RTL28XXU
config DVB_USB_AF9035
tristate "Afatech AF9035 DVB-T USB2.0 support"
depends on DVB_USB
depends on DVB_USB_V2
select DVB_AF9033
select MEDIA_TUNER_TUA9001 if !MEDIA_TUNER_CUSTOMISE
select MEDIA_TUNER_FC0011 if !MEDIA_TUNER_CUSTOMISE

File diff suppressed because it is too large Load Diff

View File

@ -22,10 +22,7 @@
#ifndef AF9035_H
#define AF9035_H
/* prefix for dvb-usb log writings */
#define DVB_USB_LOG_PREFIX "af9035"
#include "dvb-usb.h"
#include "dvb_usb.h"
#include "af9033.h"
#include "tua9001.h"
#include "fc0011.h"
@ -53,6 +50,7 @@ struct usb_req {
};
struct state {
u8 seq; /* packet sequence number */
bool dual_mode;
struct af9033_config af9033_config[2];