diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-06-04 13:40:27 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-18 13:23:54 -0400 |
commit | be2b85a13543bbaf1a141b3a54f84c1e3b059e69 (patch) | |
tree | 9f44d2aa513237b5baab578a51f66a4d2e731b6c /include | |
parent | 9ee476a56c3ee119a02b6823659f5698b1241f04 (diff) |
V4L/DVB (5741): Tuner: add release callback
Individual tuner drivers are now allocating memory themselves for
their own private data structures. This changeset adds a release
callback to the tuner operations, so that newer drivers that may
require more complex data structures may release this private data
themselves.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/tuner.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/tuner.h b/include/media/tuner.h index b901373c6e10..da821a027e76 100644 --- a/include/media/tuner.h +++ b/include/media/tuner.h | |||
@@ -215,6 +215,7 @@ struct tuner { | |||
215 | int (*get_afc)(struct i2c_client *c); | 215 | int (*get_afc)(struct i2c_client *c); |
216 | void (*tuner_status)(struct i2c_client *c); | 216 | void (*tuner_status)(struct i2c_client *c); |
217 | void (*standby)(struct i2c_client *c); | 217 | void (*standby)(struct i2c_client *c); |
218 | void (*release)(struct i2c_client *c); | ||
218 | }; | 219 | }; |
219 | 220 | ||
220 | extern unsigned const int tuner_count; | 221 | extern unsigned const int tuner_count; |