summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/s5h1409.h
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-10-16 19:27:11 -0400
committerSteven Toth <stoth@linuxtv.org>2008-10-16 19:27:11 -0400
commitd9699f388cfb4f3032032250b640ad958f71338a (patch)
tree125a6d1badcf38bbf15c4183cd43e217b1498b51 /linux/drivers/media/dvb/frontends/s5h1409.h
parent2fe27721043a50a0210b9d7201efe5a5bd9a3d9f (diff)
downloadmediapointer-dvb-s2-d9699f388cfb4f3032032250b640ad958f71338a.tar.gz
mediapointer-dvb-s2-d9699f388cfb4f3032032250b640ad958f71338a.tar.bz2
s5h1409: Checkpatch compliance
From: Steven Toth <stoth@linuxtv.org> s5h1409: Checkpatch compliance Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/s5h1409.h')
-rw-r--r--linux/drivers/media/dvb/frontends/s5h1409.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/frontends/s5h1409.h b/linux/drivers/media/dvb/frontends/s5h1409.h
index d1a1d2eb8..070d9743e 100644
--- a/linux/drivers/media/dvb/frontends/s5h1409.h
+++ b/linux/drivers/media/dvb/frontends/s5h1409.h
@@ -24,8 +24,7 @@
#include <linux/dvb/frontend.h>
-struct s5h1409_config
-{
+struct s5h1409_config {
/* the demodulator's i2c address */
u8 demod_address;
@@ -60,12 +59,14 @@ struct s5h1409_config
u16 mpeg_timing;
};
-#if defined(CONFIG_DVB_S5H1409) || (defined(CONFIG_DVB_S5H1409_MODULE) && defined(MODULE))
-extern struct dvb_frontend* s5h1409_attach(const struct s5h1409_config* config,
- struct i2c_adapter* i2c);
+#if defined(CONFIG_DVB_S5H1409) || (defined(CONFIG_DVB_S5H1409_MODULE) \
+ && defined(MODULE))
+extern struct dvb_frontend *s5h1409_attach(const struct s5h1409_config *config,
+ struct i2c_adapter *i2c);
#else
-static inline struct dvb_frontend* s5h1409_attach(const struct s5h1409_config* config,
- struct i2c_adapter* i2c)
+static inline struct dvb_frontend *s5h1409_attach(
+ const struct s5h1409_config *config,
+ struct i2c_adapter *i2c)
{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
return NULL;