summaryrefslogtreecommitdiffstats
path: root/include/hardware/camera_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hardware/camera_common.h')
-rw-r--r--include/hardware/camera_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hardware/camera_common.h b/include/hardware/camera_common.h
index a7cf1c2..22b3f7a 100644
--- a/include/hardware/camera_common.h
+++ b/include/hardware/camera_common.h
@@ -100,7 +100,7 @@ __BEGIN_DECLS
*/
typedef struct camera_metadata camera_metadata_t;
-struct camera_info {
+typedef struct camera_info {
/**
* The direction that the camera faces to. It should be CAMERA_FACING_BACK
* or CAMERA_FACING_FRONT.
@@ -165,7 +165,7 @@ struct camera_info {
*
*/
const camera_metadata_t *static_camera_characteristics;
-};
+} camera_info_t;
/**
* camera_device_status_t: