e076c92ed6
Instead of using #ifdef I2C_LONG_ADR for some devices, convert it into a parameter. Terratec H5 logs from the original driver seems to need this mode. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
16 lines
287 B
C
16 lines
287 B
C
#ifndef _DRXK_H_
|
|
#define _DRXK_H_
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/i2c.h>
|
|
|
|
struct drxk_config {
|
|
u8 adr;
|
|
u32 single_master : 1;
|
|
};
|
|
|
|
extern struct dvb_frontend *drxk_attach(const struct drxk_config *config,
|
|
struct i2c_adapter *i2c,
|
|
struct dvb_frontend **fe_t);
|
|
#endif
|