[media] mt2063: Fix the driver to make it compile
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
0ff4843218
commit
b675668aaf
2 changed files with 17 additions and 9 deletions
|
@ -4,7 +4,6 @@
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/string.h>
|
#include <linux/string.h>
|
||||||
|
|
||||||
#include "drxk_type.h"
|
|
||||||
#include "mt2063.h"
|
#include "mt2063.h"
|
||||||
|
|
||||||
/* Version of this module */
|
/* Version of this module */
|
||||||
|
|
|
@ -1,9 +1,19 @@
|
||||||
#ifndef __MT2063_H__
|
#ifndef __MT2063_H__
|
||||||
#define __MT2063_H__
|
#define __MT2063_H__
|
||||||
|
|
||||||
#include <linux/dvb/frontend.h>
|
|
||||||
#include "dvb_frontend.h"
|
#include "dvb_frontend.h"
|
||||||
|
|
||||||
|
enum Bool_t {
|
||||||
|
FALSE = 0,
|
||||||
|
TRUE
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef unsigned long u32_t;
|
||||||
|
|
||||||
|
#define DVBFE_TUNER_OPEN 99
|
||||||
|
#define DVBFE_TUNER_SOFTWARE_SHUTDOWN 100
|
||||||
|
#define DVBFE_TUNER_CLEAR_POWER_MASKBITS 101
|
||||||
|
|
||||||
#define MT2063_ERROR (1 << 31)
|
#define MT2063_ERROR (1 << 31)
|
||||||
#define MT2063_USER_ERROR (1 << 30)
|
#define MT2063_USER_ERROR (1 << 30)
|
||||||
|
|
||||||
|
@ -618,9 +628,8 @@ struct mt2063_state {
|
||||||
u32 reference;
|
u32 reference;
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(CONFIG_DVB_MT2063) || (defined(CONFIG_DVB_MT2063_MODULE) && defined(MODULE))
|
#if defined(CONFIG_MEDIA_TUNER_MT2063) || (defined(CONFIG_MEDIA_TUNER_MT2063_MODULE) && defined(MODULE))
|
||||||
|
struct dvb_frontend *mt2063_attach(struct dvb_frontend *fe,
|
||||||
extern struct dvb_frontend *mt2063_attach(struct dvb_frontend *fe,
|
|
||||||
struct mt2063_config *config,
|
struct mt2063_config *config,
|
||||||
struct i2c_adapter *i2c);
|
struct i2c_adapter *i2c);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue