diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-07 21:06:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-07 21:06:19 -0400 |
commit | b80b601f0087391e55d3859e70f08278632b1185 (patch) | |
tree | 1fa138af8da80bf523a6f259c726e162fe387fb7 /include | |
parent | a06dee41a31bff488a261dfc542776ffd2f24ff1 (diff) | |
parent | 04793dd041bbb88a39b768b714c725de2c339b51 (diff) |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (23 commits)
V4L/DVB (8617): uvcvideo: don't use stack-based buffers for USB transfers.
V4L/DVB (8616): uvcvideo: Add support for two Bison Electronics webcams
V4L/DVB (8611): Add suspend/resume to pxa_camera driver
V4L/DVB (8610): Add suspend/resume capabilities to soc_camera.
V4L/DVB (8609): media: Clean up platform_driver_unregister() bogosity.
V4L/DVB (8607): cxusb: fix OOPS and broken tuning regression on FusionHDTV Dual Digital 4
V4L/DVB (8605): gspca: Fix of gspca_zc3xx oops - 2.6.27-rc1
V4L/DVB (8604): gspca: Fix of "scheduling while atomic" crash.
V4L/DVB (8602): gspca: Fix small bugs, simplify and cleanup ov519.
V4L/DVB (8582): set mts_firmware for em2882 based Pinnacle Hybrid Pro
V4L/DVB (8574): gspca: Bad bytesperlines of pixelformat in spca505/506/508 and vc023x.
V4L/DVB (8573): gspca: Bad scan of frame in spca505/506/508.
V4L/DVB (8572): gspca: Webcam 0c45:6143 in documentation.
V4L/DVB (8571): gspca: Don't use CONFIG_VIDEO_ADV_DEBUG as a compile option.
V4L/DVB (8569): gspca: Set back the old values of Sonix sn9c120 and cleanup source.
V4L/DVB (8567): gspca: hflip and vflip controls added for ov519 - ov7670 plus init cleanup.
V4L/DVB (8564): fix vino driver build error
V4L/DVB (8563): fix drivers/media/video/arv.c compilation
V4L/DVB (8562): DVB_DRX397XD: remove FW_LOADER select
V4L/DVB (8558): media/video/Kconfig: fix a typo
...
Diffstat (limited to 'include')
-rw-r--r-- | include/media/soc_camera.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h index 1de98f150e99..d548de326722 100644 --- a/include/media/soc_camera.h +++ b/include/media/soc_camera.h | |||
@@ -14,6 +14,7 @@ | |||
14 | 14 | ||
15 | #include <linux/videodev2.h> | 15 | #include <linux/videodev2.h> |
16 | #include <media/videobuf-core.h> | 16 | #include <media/videobuf-core.h> |
17 | #include <linux/pm.h> | ||
17 | 18 | ||
18 | struct soc_camera_device { | 19 | struct soc_camera_device { |
19 | struct list_head list; | 20 | struct list_head list; |
@@ -63,6 +64,8 @@ struct soc_camera_host_ops { | |||
63 | struct module *owner; | 64 | struct module *owner; |
64 | int (*add)(struct soc_camera_device *); | 65 | int (*add)(struct soc_camera_device *); |
65 | void (*remove)(struct soc_camera_device *); | 66 | void (*remove)(struct soc_camera_device *); |
67 | int (*suspend)(struct soc_camera_device *, pm_message_t state); | ||
68 | int (*resume)(struct soc_camera_device *); | ||
66 | int (*set_fmt_cap)(struct soc_camera_device *, __u32, | 69 | int (*set_fmt_cap)(struct soc_camera_device *, __u32, |
67 | struct v4l2_rect *); | 70 | struct v4l2_rect *); |
68 | int (*try_fmt_cap)(struct soc_camera_device *, struct v4l2_format *); | 71 | int (*try_fmt_cap)(struct soc_camera_device *, struct v4l2_format *); |
@@ -111,6 +114,8 @@ struct soc_camera_ops { | |||
111 | struct module *owner; | 114 | struct module *owner; |
112 | int (*probe)(struct soc_camera_device *); | 115 | int (*probe)(struct soc_camera_device *); |
113 | void (*remove)(struct soc_camera_device *); | 116 | void (*remove)(struct soc_camera_device *); |
117 | int (*suspend)(struct soc_camera_device *, pm_message_t state); | ||
118 | int (*resume)(struct soc_camera_device *); | ||
114 | int (*init)(struct soc_camera_device *); | 119 | int (*init)(struct soc_camera_device *); |
115 | int (*release)(struct soc_camera_device *); | 120 | int (*release)(struct soc_camera_device *); |
116 | int (*start_capture)(struct soc_camera_device *); | 121 | int (*start_capture)(struct soc_camera_device *); |