summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bt8xx/bttvp.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-18 12:00:52 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-18 12:00:52 -0300
commit70bbc9f369222fa300c1fcb727eefd22da4db452 (patch)
tree5ce7c5a87a1a88ac671c475fffa52d6cd2b4b4fe /linux/drivers/media/video/bt8xx/bttvp.h
parent72323c965e7e5472d7e8bc29775b1205cad63c78 (diff)
parent2c783d535370caf906c325483998a842b5e0920a (diff)
downloadmediapointer-dvb-s2-70bbc9f369222fa300c1fcb727eefd22da4db452.tar.gz
mediapointer-dvb-s2-70bbc9f369222fa300c1fcb727eefd22da4db452.tar.bz2
merge: http://udev.netup.ru/hg/v4l-dvb-netup
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/bt8xx/bttvp.h')
-rw-r--r--linux/drivers/media/video/bt8xx/bttvp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttvp.h b/linux/drivers/media/video/bt8xx/bttvp.h
index 113f28320..5915c261e 100644
--- a/linux/drivers/media/video/bt8xx/bttvp.h
+++ b/linux/drivers/media/video/bt8xx/bttvp.h
@@ -460,6 +460,11 @@ struct bttv {
__s32 crop_start;
};
+static inline struct bttv *to_bttv(struct v4l2_device *v4l2_dev)
+{
+ return container_of(v4l2_dev, struct bttv, c.v4l2_dev);
+}
+
/* our devices */
#define BTTV_MAX 32
extern unsigned int bttv_num;