aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/ov772x.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/ov772x.h')
-rw-r--r--include/media/ov772x.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/media/ov772x.h b/include/media/ov772x.h
index 30d9629198ef..548bf1155c83 100644
--- a/include/media/ov772x.h
+++ b/include/media/ov772x.h
@@ -1,4 +1,5 @@
1/* ov772x Camera 1/*
2 * ov772x Camera
2 * 3 *
3 * Copyright (C) 2008 Renesas Solutions Corp. 4 * Copyright (C) 2008 Renesas Solutions Corp.
4 * Kuninori Morimoto <morimoto.kuninori@renesas.com> 5 * Kuninori Morimoto <morimoto.kuninori@renesas.com>
@@ -14,8 +15,9 @@
14#include <media/soc_camera.h> 15#include <media/soc_camera.h>
15 16
16/* for flags */ 17/* for flags */
17#define OV772X_FLAG_VFLIP 0x00000001 /* Vertical flip image */ 18#define OV772X_FLAG_VFLIP (1 << 0) /* Vertical flip image */
18#define OV772X_FLAG_HFLIP 0x00000002 /* Horizontal flip image */ 19#define OV772X_FLAG_HFLIP (1 << 1) /* Horizontal flip image */
20#define OV772X_FLAG_8BIT (1 << 2) /* default 10 bit */
19 21
20/* 22/*
21 * for Edge ctrl 23 * for Edge ctrl
@@ -52,10 +54,8 @@ struct ov772x_edge_ctrl {
52 * ov772x camera info 54 * ov772x camera info
53 */ 55 */
54struct ov772x_camera_info { 56struct ov772x_camera_info {
55 unsigned long buswidth; 57 unsigned long flags;
56 unsigned long flags; 58 struct ov772x_edge_ctrl edgectrl;
57 struct soc_camera_link link;
58 struct ov772x_edge_ctrl edgectrl;
59}; 59};
60 60
61#endif /* __OV772X_H__ */ 61#endif /* __OV772X_H__ */