aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2009-03-09 01:29:01 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:14 -0400
commit4ec030b459917a11b1a8b07512c0a606371d2643 (patch)
tree5e192525b0d6600e7d2171f8f684c01958f54ca5
parent53655c6a63bfa3224977fcc1edca28fb6529fc2b (diff)
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>
-rw-r--r--drivers/media/dvb/frontends/dib7000p.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/media/dvb/frontends/dib7000p.h b/drivers/media/dvb/frontends/dib7000p.h
index 4e3fd7639276..02a4c82f0c70 100644
--- a/drivers/media/dvb/frontends/dib7000p.h
+++ b/drivers/media/dvb/frontends/dib7000p.h
@@ -37,7 +37,8 @@ struct dib7000p_config {
37 37
38#define DEFAULT_DIB7000P_I2C_ADDRESS 18 38#define DEFAULT_DIB7000P_I2C_ADDRESS 18
39 39
40#if defined(CONFIG_DVB_DIB7000P) || (defined(CONFIG_DVB_DIB7000P_MODULE) && defined(MODULE)) 40#if defined(CONFIG_DVB_DIB7000P) || (defined(CONFIG_DVB_DIB7000P_MODULE) && \
41 defined(MODULE))
41extern struct dvb_frontend *dib7000p_attach(struct i2c_adapter *i2c_adap, 42extern struct dvb_frontend *dib7000p_attach(struct i2c_adapter *i2c_adap,
42 u8 i2c_addr, 43 u8 i2c_addr,
43 struct dib7000p_config *cfg); 44 struct dib7000p_config *cfg);
@@ -51,9 +52,9 @@ extern int dib7000p_set_gpio(struct dvb_frontend *, u8 num, u8 dir, u8 val);
51extern int dib7000p_set_wbd_ref(struct dvb_frontend *, u16 value); 52extern int dib7000p_set_wbd_ref(struct dvb_frontend *, u16 value);
52extern int dib7000pc_detection(struct i2c_adapter *i2c_adap); 53extern int dib7000pc_detection(struct i2c_adapter *i2c_adap);
53#else 54#else
54static inline struct dvb_frontend *dib7000p_attach(struct i2c_adapter *i2c_adap, 55static inline
55 u8 i2c_addr, 56struct dvb_frontend *dib7000p_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr,
56 struct dib7000p_config *cfg) 57 struct dib7000p_config *cfg)
57{ 58{
58 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 59 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
59 return NULL; 60 return NULL;
@@ -61,30 +62,29 @@ static inline struct dvb_frontend *dib7000p_attach(struct i2c_adapter *i2c_adap,
61 62
62static inline 63static inline
63struct i2c_adapter *dib7000p_get_i2c_master(struct dvb_frontend *fe, 64struct i2c_adapter *dib7000p_get_i2c_master(struct dvb_frontend *fe,
64 enum dibx000_i2c_interface i, int x) 65 enum dibx000_i2c_interface i,
66 int x)
65{ 67{
66 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 68 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
67 return NULL; 69 return NULL;
68} 70}
69 71
70static inline 72static inline int dib7000p_i2c_enumeration(struct i2c_adapter *i2c,
71int dib7000p_i2c_enumeration(struct i2c_adapter *i2c, 73 int no_of_demods, u8 default_addr,
72 int no_of_demods, u8 default_addr, 74 struct dib7000p_config cfg[])
73 struct dib7000p_config cfg[])
74{ 75{
75 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 76 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
76 return -ENODEV; 77 return -ENODEV;
77} 78}
78 79
79static inline 80static inline int dib7000p_set_gpio(struct dvb_frontend *fe,
80int dib7000p_set_gpio(struct dvb_frontend *fe, u8 num, u8 dir, u8 val) 81 u8 num, u8 dir, u8 val)
81{ 82{
82 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 83 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
83 return -ENODEV; 84 return -ENODEV;
84} 85}
85 86
86static inline 87static inline int dib7000p_set_wbd_ref(struct dvb_frontend *fe, u16 value)
87int dib7000p_set_wbd_ref(struct dvb_frontend *fe, u16 value)
88{ 88{
89 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 89 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
90 return -ENODEV; 90 return -ENODEV;