aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/mt312.h
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-12-21 06:56:44 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:04:08 -0500
commit89f6475857b89e956a8bcfef64944409ce4173b4 (patch)
tree8b7198a54376129b55c5ddb4b7936cbdd8005d2d /drivers/media/dvb/frontends/mt312.h
parent6fb377f85cb8c2c1580ce8b134c887a7b53c7aa9 (diff)
V4L/DVB (6873): Fixes issues listed by checkpatch
Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/mt312.h')
-rw-r--r--drivers/media/dvb/frontends/mt312.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/media/dvb/frontends/mt312.h b/drivers/media/dvb/frontends/mt312.h
index cf9a1505ad4..f17cb93ba9b 100644
--- a/drivers/media/dvb/frontends/mt312.h
+++ b/drivers/media/dvb/frontends/mt312.h
@@ -28,22 +28,21 @@
28 28
29#include <linux/dvb/frontend.h> 29#include <linux/dvb/frontend.h>
30 30
31struct mt312_config 31struct mt312_config {
32{
33 /* the demodulator's i2c address */ 32 /* the demodulator's i2c address */
34 u8 demod_address; 33 u8 demod_address;
35}; 34};
36 35
37#if defined(CONFIG_DVB_MT312) || (defined(CONFIG_DVB_MT312_MODULE) && defined(MODULE)) 36#if defined(CONFIG_DVB_MT312) || (defined(CONFIG_DVB_MT312_MODULE) && defined(MODULE))
38struct dvb_frontend* vp310_mt312_attach(const struct mt312_config* config, 37struct dvb_frontend *vp310_mt312_attach(const struct mt312_config *config,
39 struct i2c_adapter* i2c); 38 struct i2c_adapter *i2c);
40#else 39#else
41static inline struct dvb_frontend* vp310_mt312_attach(const struct mt312_config* config, 40static inline struct dvb_frontend *vp310_mt312_attach(
42 struct i2c_adapter* i2c) 41 const struct mt312_config *config, struct i2c_adapter *i2c)
43{ 42{
44 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__); 43 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__);
45 return NULL; 44 return NULL;
46} 45}
47#endif // CONFIG_DVB_MT312 46#endif /* CONFIG_DVB_MT312 */
48 47
49#endif // MT312_H 48#endif /* MT312_H */