aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/cx24116.h
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-10-16 19:22:01 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-17 16:27:34 -0400
commitf11ec7d4ee4308592dbd9b1db645ab14fe32719c (patch)
treeb34dec1b2416a86ef4a4e8aeb032179de695a299 /drivers/media/dvb/frontends/cx24116.h
parentd93356a22014f555ab6f9fbeb697fc73b565841a (diff)
V4L/DVB (9254): cx24116: Checkpatch compliance #2
cx24116: Checkpatch compliance #2 Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/cx24116.h')
-rw-r--r--drivers/media/dvb/frontends/cx24116.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/drivers/media/dvb/frontends/cx24116.h b/drivers/media/dvb/frontends/cx24116.h
index 2b09e10872fd..4cb3ddd6c626 100644
--- a/drivers/media/dvb/frontends/cx24116.h
+++ b/drivers/media/dvb/frontends/cx24116.h
@@ -23,31 +23,32 @@
23 23
24#include <linux/dvb/frontend.h> 24#include <linux/dvb/frontend.h>
25 25
26struct cx24116_config 26struct cx24116_config {
27{
28 /* the demodulator's i2c address */ 27 /* the demodulator's i2c address */
29 u8 demod_address; 28 u8 demod_address;
30 29
31 /* Need to set device param for start_dma */ 30 /* Need to set device param for start_dma */
32 int (*set_ts_params)(struct dvb_frontend* fe, int is_punctured); 31 int (*set_ts_params)(struct dvb_frontend *fe, int is_punctured);
33 32
34 /* Need to reset device during firmware loading */ 33 /* Need to reset device during firmware loading */
35 int (*reset_device)(struct dvb_frontend* fe); 34 int (*reset_device)(struct dvb_frontend *fe);
36 35
37 /* Need to set MPEG parameters */ 36 /* Need to set MPEG parameters */
38 u8 mpg_clk_pos_pol:0x02; 37 u8 mpg_clk_pos_pol:0x02;
39}; 38};
40 39
41#if defined(CONFIG_DVB_CX24116) || defined(CONFIG_DVB_CX24116_MODULE) 40#if defined(CONFIG_DVB_CX24116) || defined(CONFIG_DVB_CX24116_MODULE)
42extern struct dvb_frontend* cx24116_attach(const struct cx24116_config* config, 41extern struct dvb_frontend *cx24116_attach(
43 struct i2c_adapter* i2c); 42 const struct cx24116_config *config,
43 struct i2c_adapter *i2c);
44#else 44#else
45static inline struct dvb_frontend* cx24116_attach(const struct cx24116_config* config, 45static inline struct dvb_frontend *cx24116_attach(
46 struct i2c_adapter* i2c) 46 const struct cx24116_config *config,
47 struct i2c_adapter *i2c)
47{ 48{
48 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 49 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
49 return NULL; 50 return NULL;
50} 51}
51#endif // CONFIG_DVB_CX24116 52#endif
52 53
53#endif /* CX24116_H */ 54#endif /* CX24116_H */