diff options
author | Steven Toth <stoth@linuxtv.org> | 2008-10-16 19:27:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-17 16:27:48 -0400 |
commit | b7709c0de24d9a05c70e13c939919fe90f09695d (patch) | |
tree | 0fc7e0c75e5dde43e24a0aeda85105a6c9c08adb /drivers/media/dvb/frontends/s5h1409.h | |
parent | 98c948236923bf30031ab94cf6dba2291d9af72a (diff) |
V4L/DVB (9258): s5h1409: Checkpatch compliance
s5h1409: Checkpatch compliance
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/s5h1409.h')
-rw-r--r-- | drivers/media/dvb/frontends/s5h1409.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/media/dvb/frontends/s5h1409.h b/drivers/media/dvb/frontends/s5h1409.h index d1a1d2eb8e11..070d9743e330 100644 --- a/drivers/media/dvb/frontends/s5h1409.h +++ b/drivers/media/dvb/frontends/s5h1409.h | |||
@@ -24,8 +24,7 @@ | |||
24 | 24 | ||
25 | #include <linux/dvb/frontend.h> | 25 | #include <linux/dvb/frontend.h> |
26 | 26 | ||
27 | struct s5h1409_config | 27 | struct s5h1409_config { |
28 | { | ||
29 | /* the demodulator's i2c address */ | 28 | /* the demodulator's i2c address */ |
30 | u8 demod_address; | 29 | u8 demod_address; |
31 | 30 | ||
@@ -60,12 +59,14 @@ struct s5h1409_config | |||
60 | u16 mpeg_timing; | 59 | u16 mpeg_timing; |
61 | }; | 60 | }; |
62 | 61 | ||
63 | #if defined(CONFIG_DVB_S5H1409) || (defined(CONFIG_DVB_S5H1409_MODULE) && defined(MODULE)) | 62 | #if defined(CONFIG_DVB_S5H1409) || (defined(CONFIG_DVB_S5H1409_MODULE) \ |
64 | extern struct dvb_frontend* s5h1409_attach(const struct s5h1409_config* config, | 63 | && defined(MODULE)) |
65 | struct i2c_adapter* i2c); | 64 | extern struct dvb_frontend *s5h1409_attach(const struct s5h1409_config *config, |
65 | struct i2c_adapter *i2c); | ||
66 | #else | 66 | #else |
67 | static inline struct dvb_frontend* s5h1409_attach(const struct s5h1409_config* config, | 67 | static inline struct dvb_frontend *s5h1409_attach( |
68 | struct i2c_adapter* i2c) | 68 | const struct s5h1409_config *config, |
69 | struct i2c_adapter *i2c) | ||
69 | { | 70 | { |
70 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); | 71 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); |
71 | return NULL; | 72 | return NULL; |