summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/mt312.h
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-12-21 12:56:44 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 22:04:08 +0100
commit89f6475857b89e956a8bcfef64944409ce4173b4 (patch)
tree8b7198a54376129b55c5ddb4b7936cbdd8005d2d /drivers/media/dvb/frontends/mt312.h
parentV4L/DVB (6869): cs5345: new i2c driver (diff)
downloadlinux-89f6475857b89e956a8bcfef64944409ce4173b4.tar.xz
linux-89f6475857b89e956a8bcfef64944409ce4173b4.zip
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 cf9a1505ad4b..f17cb93ba9ba 100644
--- a/drivers/media/dvb/frontends/mt312.h
+++ b/drivers/media/dvb/frontends/mt312.h
@@ -28,22 +28,21 @@
#include <linux/dvb/frontend.h>
-struct mt312_config
-{
+struct mt312_config {
/* the demodulator's i2c address */
u8 demod_address;
};
#if defined(CONFIG_DVB_MT312) || (defined(CONFIG_DVB_MT312_MODULE) && defined(MODULE))
-struct dvb_frontend* vp310_mt312_attach(const struct mt312_config* config,
- struct i2c_adapter* i2c);
+struct dvb_frontend *vp310_mt312_attach(const struct mt312_config *config,
+ struct i2c_adapter *i2c);
#else
-static inline struct dvb_frontend* vp310_mt312_attach(const struct mt312_config* config,
- struct i2c_adapter* i2c)
+static inline struct dvb_frontend *vp310_mt312_attach(
+ const struct mt312_config *config, struct i2c_adapter *i2c)
{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__);
return NULL;
}
-#endif // CONFIG_DVB_MT312
+#endif /* CONFIG_DVB_MT312 */
-#endif // MT312_H
+#endif /* MT312_H */