forked from luck/tmp_suning_uos_patched
V4L/DVB (10901): cleanup linewraps in dib7000p.h
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
53655c6a63
commit
4ec030b459
@ -37,7 +37,8 @@ struct dib7000p_config {
|
||||
|
||||
#define DEFAULT_DIB7000P_I2C_ADDRESS 18
|
||||
|
||||
#if defined(CONFIG_DVB_DIB7000P) || (defined(CONFIG_DVB_DIB7000P_MODULE) && defined(MODULE))
|
||||
#if defined(CONFIG_DVB_DIB7000P) || (defined(CONFIG_DVB_DIB7000P_MODULE) && \
|
||||
defined(MODULE))
|
||||
extern struct dvb_frontend *dib7000p_attach(struct i2c_adapter *i2c_adap,
|
||||
u8 i2c_addr,
|
||||
struct dib7000p_config *cfg);
|
||||
@ -51,9 +52,9 @@ extern int dib7000p_set_gpio(struct dvb_frontend *, u8 num, u8 dir, u8 val);
|
||||
extern int dib7000p_set_wbd_ref(struct dvb_frontend *, u16 value);
|
||||
extern int dib7000pc_detection(struct i2c_adapter *i2c_adap);
|
||||
#else
|
||||
static inline struct dvb_frontend *dib7000p_attach(struct i2c_adapter *i2c_adap,
|
||||
u8 i2c_addr,
|
||||
struct dib7000p_config *cfg)
|
||||
static inline
|
||||
struct dvb_frontend *dib7000p_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr,
|
||||
struct dib7000p_config *cfg)
|
||||
{
|
||||
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
||||
return NULL;
|
||||
@ -61,30 +62,29 @@ static inline struct dvb_frontend *dib7000p_attach(struct i2c_adapter *i2c_adap,
|
||||
|
||||
static inline
|
||||
struct i2c_adapter *dib7000p_get_i2c_master(struct dvb_frontend *fe,
|
||||
enum dibx000_i2c_interface i, int x)
|
||||
enum dibx000_i2c_interface i,
|
||||
int x)
|
||||
{
|
||||
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static inline
|
||||
int dib7000p_i2c_enumeration(struct i2c_adapter *i2c,
|
||||
int no_of_demods, u8 default_addr,
|
||||
struct dib7000p_config cfg[])
|
||||
static inline int dib7000p_i2c_enumeration(struct i2c_adapter *i2c,
|
||||
int no_of_demods, u8 default_addr,
|
||||
struct dib7000p_config cfg[])
|
||||
{
|
||||
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
static inline
|
||||
int dib7000p_set_gpio(struct dvb_frontend *fe, u8 num, u8 dir, u8 val)
|
||||
static inline int dib7000p_set_gpio(struct dvb_frontend *fe,
|
||||
u8 num, u8 dir, u8 val)
|
||||
{
|
||||
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
static inline
|
||||
int dib7000p_set_wbd_ref(struct dvb_frontend *fe, u16 value)
|
||||
static inline int dib7000p_set_wbd_ref(struct dvb_frontend *fe, u16 value)
|
||||
{
|
||||
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
|
||||
return -ENODEV;
|
||||
|
Loading…
Reference in New Issue
Block a user