summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/dib8000.h
diff options
context:
space:
mode:
authorOlivier Grenie2011-01-04 17:08:14 +0100
committerMauro Carvalho Chehab2011-03-22 00:31:43 +0100
commitb4d6046e841955be9cc49164b03b91c9524f9c2e (patch)
tree9959b1becc3387b977b9c736e1f16ef20b607a01 /drivers/media/dvb/frontends/dib8000.h
parent[media] DiB0700: add support for several board-layouts (diff)
downloadkernel-qcow2-linux-b4d6046e841955be9cc49164b03b91c9524f9c2e.tar.gz
kernel-qcow2-linux-b4d6046e841955be9cc49164b03b91c9524f9c2e.tar.xz
kernel-qcow2-linux-b4d6046e841955be9cc49164b03b91c9524f9c2e.zip
[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 558b7e83c722..617f9eba3a09 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