summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/dib8000.h
diff options
context:
space:
mode:
authorOlivier Grenie <olivier.grenie@dibcom.fr>2011-01-04 13:08:14 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 20:31:43 -0300
commitb4d6046e841955be9cc49164b03b91c9524f9c2e (patch)
tree9959b1becc3387b977b9c736e1f16ef20b607a01 /drivers/media/dvb/frontends/dib8000.h
parentbe9bae10ffa5aeeef051e893c3b15a5d10eb657d (diff)
downloadop-kernel-dev-b4d6046e841955be9cc49164b03b91c9524f9c2e.zip
op-kernel-dev-b4d6046e841955be9cc49164b03b91c9524f9c2e.tar.gz
[media] DiBxxxx: Codingstype updates
This patchs fix several conding-style violations. Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/dib8000.h')
-rw-r--r--drivers/media/dvb/frontends/dib8000.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/dib8000.h b/drivers/media/dvb/frontends/dib8000.h
index 558b7e8..617f9eb 100644
--- a/drivers/media/dvb/frontends/dib8000.h
+++ b/drivers/media/dvb/frontends/dib8000.h
@@ -52,7 +52,7 @@ extern void dib8000_pwm_agc_reset(struct dvb_frontend *fe);
extern s32 dib8000_get_adc_power(struct dvb_frontend *fe, u8 mode);
extern int dib8000_set_slave_frontend(struct dvb_frontend *fe, struct dvb_frontend *fe_slave);
extern int dib8000_remove_slave_frontend(struct dvb_frontend *fe);
-extern struct dvb_frontend * dib8000_get_slave_frontend(struct dvb_frontend *fe, int slave_index);
+extern struct dvb_frontend *dib8000_get_slave_frontend(struct dvb_frontend *fe, int slave_index);
#else
static inline struct dvb_frontend *dib8000_attach(struct i2c_adapter *i2c_adap, u8 i2c_addr, struct dib8000_config *cfg)
{
@@ -126,9 +126,10 @@ int dib8000_remove_slave_frontend(struct dvb_frontend *fe)
return -ENODEV;
}
-static inline struct dvb_frontend * dib8000_get_slave_frontend(struct dvb_frontend *fe, int slave_index) {
+static inline struct dvb_frontend *dib8000_get_slave_frontend(struct dvb_frontend *fe, int slave_index)
+{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
- return NULL;
+ return NULL;
}
#endif
OpenPOWER on IntegriCloud