diff options
Diffstat (limited to 'include/media/soc_camera.h')
-rw-r--r-- | include/media/soc_camera.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h index c9a5bbfa6ab5..2ce957301f77 100644 --- a/include/media/soc_camera.h +++ b/include/media/soc_camera.h | |||
@@ -12,12 +12,15 @@ | |||
12 | #ifndef SOC_CAMERA_H | 12 | #ifndef SOC_CAMERA_H |
13 | #define SOC_CAMERA_H | 13 | #define SOC_CAMERA_H |
14 | 14 | ||
15 | #include <linux/device.h> | ||
15 | #include <linux/mutex.h> | 16 | #include <linux/mutex.h> |
16 | #include <linux/pm.h> | 17 | #include <linux/pm.h> |
17 | #include <linux/videodev2.h> | 18 | #include <linux/videodev2.h> |
18 | #include <media/videobuf-core.h> | 19 | #include <media/videobuf-core.h> |
19 | #include <media/v4l2-device.h> | 20 | #include <media/v4l2-device.h> |
20 | 21 | ||
22 | extern struct bus_type soc_camera_bus_type; | ||
23 | |||
21 | struct soc_camera_device { | 24 | struct soc_camera_device { |
22 | struct list_head list; | 25 | struct list_head list; |
23 | struct device dev; | 26 | struct device dev; |
@@ -66,7 +69,7 @@ struct soc_camera_host_ops { | |||
66 | * .get_formats() fail, .put_formats() will not be called at all, the | 69 | * .get_formats() fail, .put_formats() will not be called at all, the |
67 | * failing .get_formats() must then clean up internally. | 70 | * failing .get_formats() must then clean up internally. |
68 | */ | 71 | */ |
69 | int (*get_formats)(struct soc_camera_device *, int, | 72 | int (*get_formats)(struct soc_camera_device *, unsigned int, |
70 | struct soc_camera_format_xlate *); | 73 | struct soc_camera_format_xlate *); |
71 | void (*put_formats)(struct soc_camera_device *); | 74 | void (*put_formats)(struct soc_camera_device *); |
72 | int (*cropcap)(struct soc_camera_device *, struct v4l2_cropcap *); | 75 | int (*cropcap)(struct soc_camera_device *, struct v4l2_cropcap *); |