aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/soc_camera.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-08-08 12:33:47 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-08-08 14:18:18 -0400
commit097d9eb537ff4d88b74c3fe67392e27c478ca3c5 (patch)
tree9034d676d9096857a380aab9d99e3e88fccb6bfe /include/media/soc_camera.h
parentc41107c2d4fd31924533f4dbc4c3428acc2b5894 (diff)
parentaeee90dfa01844168cd7f8051d0a0f969c573067 (diff)
Merge Linus' latest into master
Conflicts: drivers/watchdog/at91rm9200_wdt.c drivers/watchdog/davinci_wdt.c drivers/watchdog/ep93xx_wdt.c drivers/watchdog/ixp2000_wdt.c drivers/watchdog/ixp4xx_wdt.c drivers/watchdog/ks8695_wdt.c drivers/watchdog/omap_wdt.c drivers/watchdog/pnx4008_wdt.c drivers/watchdog/sa1100_wdt.c drivers/watchdog/wdt285.c
Diffstat (limited to 'include/media/soc_camera.h')
-rw-r--r--include/media/soc_camera.h5
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
18struct soc_camera_device { 19struct 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 *);