git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind...
[pandora-kernel.git]
/
drivers
/
media
/
video
/
hdpvr
/
hdpvr.h
diff --git
a/drivers/media/video/hdpvr/hdpvr.h
b/drivers/media/video/hdpvr/hdpvr.h
index
49ae25d
..
b0f046d
100644
(file)
--- a/
drivers/media/video/hdpvr/hdpvr.h
+++ b/
drivers/media/video/hdpvr/hdpvr.h
@@
-111,6
+111,11
@@
struct hdpvr_device {
u8 *usbc_buf;
};
+static inline struct hdpvr_device *to_hdpvr_dev(struct v4l2_device *v4l2_dev)
+{
+ return container_of(v4l2_dev, struct hdpvr_device, v4l2_dev);
+}
+
/* buffer one bulk urb of data */
struct hdpvr_buffer {