Commit 89f64758 authored by Matthias Schwarzott's avatar Matthias Schwarzott Committed by Mauro Carvalho Chehab

V4L/DVB (6873): Fixes issues listed by checkpatch

Signed-off-by: default avatarMatthias Schwarzott <zzam@gentoo.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 6fb377f8
This diff is collapsed.
...@@ -28,22 +28,21 @@ ...@@ -28,22 +28,21 @@
#include <linux/dvb/frontend.h> #include <linux/dvb/frontend.h>
struct mt312_config struct mt312_config {
{
/* the demodulator's i2c address */ /* the demodulator's i2c address */
u8 demod_address; u8 demod_address;
}; };
#if defined(CONFIG_DVB_MT312) || (defined(CONFIG_DVB_MT312_MODULE) && defined(MODULE)) #if defined(CONFIG_DVB_MT312) || (defined(CONFIG_DVB_MT312_MODULE) && defined(MODULE))
struct dvb_frontend* vp310_mt312_attach(const struct mt312_config* config, struct dvb_frontend *vp310_mt312_attach(const struct mt312_config *config,
struct i2c_adapter* i2c); struct i2c_adapter *i2c);
#else #else
static inline struct dvb_frontend* vp310_mt312_attach(const struct mt312_config* config, static inline struct dvb_frontend *vp310_mt312_attach(
struct i2c_adapter* i2c) const struct mt312_config *config, struct i2c_adapter *i2c)
{ {
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__); printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__);
return NULL; return NULL;
} }
#endif // CONFIG_DVB_MT312 #endif /* CONFIG_DVB_MT312 */
#endif // MT312_H #endif /* MT312_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment