diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-02-09 23:35:21 -0500 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2006-02-09 23:35:21 -0500 |
commit | 254ef7f974a59fbf4834c0a19add07531a9bf4dd (patch) | |
tree | 04a9c83e8244c1ef4b960647559c1ee4a7ee3d39 /linux/drivers/media/dvb/frontends/mt312.h | |
parent | 6ded7c2f0a2e6b7858b850ec736c5558256f8ad9 (diff) | |
download | mediapointer-dvb-s2-254ef7f974a59fbf4834c0a19add07531a9bf4dd.tar.gz mediapointer-dvb-s2-254ef7f974a59fbf4834c0a19add07531a9bf4dd.tar.bz2 |
drivers/media/dvb/frontends/mt312.c: cleanups
From: Adrian Bunk <bunk@stusta.de>
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>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/mt312.h')
-rw-r--r-- | linux/drivers/media/dvb/frontends/mt312.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/frontends/mt312.h b/linux/drivers/media/dvb/frontends/mt312.h index b3a53a73a..074d844f0 100644 --- a/linux/drivers/media/dvb/frontends/mt312.h +++ b/linux/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 |