mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 14:43:27 -04:00
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>
This commit is contained in:
parent
9ee476a56c
commit
be2b85a135
2 changed files with 6 additions and 0 deletions
|
|
@ -215,6 +215,7 @@ struct tuner {
|
|||
int (*get_afc)(struct i2c_client *c);
|
||||
void (*tuner_status)(struct i2c_client *c);
|
||||
void (*standby)(struct i2c_client *c);
|
||||
void (*release)(struct i2c_client *c);
|
||||
};
|
||||
|
||||
extern unsigned const int tuner_count;
|
||||
|
|
|
|||
Loading…
Reference in a new issue