summaryrefslogtreecommitdiff
path: root/linux/include/media
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-06-04 13:40:27 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2007-06-04 13:40:27 -0400
commit775f85f9f968985c9b5c9e6df137575a118fdf76 (patch)
treefc729a89ca29bece16966c503f1c5e3201f44157 /linux/include/media
parent5995e11bd1bb0f7f002da47b3157c837af8d10de (diff)
downloadmediapointer-dvb-s2-775f85f9f968985c9b5c9e6df137575a118fdf76.tar.gz
mediapointer-dvb-s2-775f85f9f968985c9b5c9e6df137575a118fdf76.tar.bz2
tuner: add release callback
From: Michael Krufky <mkrufky@linuxtv.org> 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>
Diffstat (limited to 'linux/include/media')
-rw-r--r--linux/include/media/tuner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/include/media/tuner.h b/linux/include/media/tuner.h
index 3fd51b6ae..1f61f4681 100644
--- a/linux/include/media/tuner.h
+++ b/linux/include/media/tuner.h
@@ -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;