diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-02-27 04:07:49 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-03 18:17:35 +0100 |
commit | 805e660ca32ef63b81203a556f29fef262b95cc0 (patch) | |
tree | 178c50989edb11f54ea6c1e4c7b82359375f0062 /drivers/media/dvb/frontends/mt312.h | |
parent | V4L/DVB (3336): Bt8xx documentation authors fix (diff) | |
download | linux-805e660ca32ef63b81203a556f29fef262b95cc0.tar.xz linux-805e660ca32ef63b81203a556f29fef262b95cc0.zip |
V4L/DVB (3337): Drivers/media/dvb/frontends/mt312.c: cleanups
This patch contains the following possible cleanups:
- update the Kconfig help to mention the VP310
- merge vp310_attach and mt312_attach into a new vp310_mt312_attach
to remove some code duplication
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/mt312.h')
-rw-r--r-- | drivers/media/dvb/frontends/mt312.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/mt312.h b/drivers/media/dvb/frontends/mt312.h index b3a53a73a117..074d844f0139 100644 --- a/drivers/media/dvb/frontends/mt312.h +++ b/drivers/media/dvb/frontends/mt312.h @@ -38,10 +38,8 @@ struct mt312_config int (*pll_set)(struct dvb_frontend* fe, struct dvb_frontend_parameters* params); }; -extern struct dvb_frontend* mt312_attach(const struct mt312_config* config, - struct i2c_adapter* i2c); +struct dvb_frontend* vp310_mt312_attach(const struct mt312_config* config, + struct i2c_adapter* i2c); -extern struct dvb_frontend* vp310_attach(const struct mt312_config* config, - struct i2c_adapter* i2c); #endif // MT312_H |