Add specific version number constants to Camera HAL.
These constants should be used by HAL implementations to indicate
which versions of the module and device APIs they support.
Change-Id: I4b6eae278481545694e6a1827833b5958c26720c
diff --git a/include/hardware/camera2.h b/include/hardware/camera2.h
index f94c56c..48f5c35 100644
--- a/include/hardware/camera2.h
+++ b/include/hardware/camera2.h
@@ -20,7 +20,7 @@
#include "camera_common.h"
/**
- * Camera device HAL 2.0 [ HARDWARE_DEVICE_API_VERSION(2,0) ]
+ * Camera device HAL 2.0 [ CAMERA_DEVICE_API_VERSION_2_0 ]
*
* EXPERIMENTAL.
*
@@ -28,7 +28,7 @@
* android.hardware.Camera APIs.
*
* Camera devices that support this version of the HAL must return
- * CAMERA_DEVICE_API_VERSION(2, 0) in camera_device_t.common.version and in
+ * CAMERA_DEVICE_API_VERSION_2_0 in camera_device_t.common.version and in
* camera_info_t.device_version (from camera_module_t.get_camera_info).
*
* Camera modules that may contain version 2.0 devices must implement at least
@@ -265,7 +265,7 @@
typedef struct camera2_device {
/**
- * common.version must equal HARDWARE_DEVICE_API_VERSION(2, 0) to identify
+ * common.version must equal CAMERA_DEVICE_API_VERSION_2_0 to identify
* this device as implementing version 2.0 of the camera device HAL.
*/
hw_device_t common;