OSDN Git Service

Revert "libhardware: Add camera_info typedef"
authorAlex Ray <aray@google.com>
Thu, 14 Feb 2013 01:12:52 +0000 (17:12 -0800)
committerAlex Ray <aray@google.com>
Thu, 14 Feb 2013 01:12:52 +0000 (17:12 -0800)
This reverts commit 71cb21980a8f6a7ab3b5f86b6d81e8584769f489.

include/hardware/camera_common.h

index 4d9e06b..5697bda 100644 (file)
@@ -89,7 +89,7 @@ __BEGIN_DECLS
  */
 typedef struct camera_metadata camera_metadata_t;
 
-typedef struct camera_info {
+struct camera_info {
     /**
      * The direction that the camera faces to. It should be CAMERA_FACING_BACK
      * or CAMERA_FACING_FRONT.
@@ -153,7 +153,7 @@ typedef struct camera_info {
      *
      */
     const camera_metadata_t *static_camera_characteristics;
-} camera_info_t;
+};
 
 typedef struct camera_module {
     hw_module_t common;