Merge "securemsm-kernel:Initialize Camera driver structure and fix compilation error"
这个提交包含在:
@@ -30,7 +30,7 @@ typedef struct {
|
|||||||
uint64_t reserved;
|
uint64_t reserved;
|
||||||
} ITCDriverSensorInfo;
|
} ITCDriverSensorInfo;
|
||||||
|
|
||||||
#define ITrustedCameraDriver_ERROR_NOT_ALLOWED INT32_C(10)
|
#define ITrustedCameraDriver_ERROR_NOT_ALLOWED 10
|
||||||
|
|
||||||
#define ITrustedCameraDriver_OP_dynamicProtectSensor 0
|
#define ITrustedCameraDriver_OP_dynamicProtectSensor 0
|
||||||
#define ITrustedCameraDriver_OP_getVersion 1
|
#define ITrustedCameraDriver_OP_getVersion 1
|
||||||
@@ -91,7 +91,7 @@ ITrustedCameraDriver_getVersion(struct Object self, uint32_t *arch_ver_ptr,
|
|||||||
uint32_t m_arch_ver;
|
uint32_t m_arch_ver;
|
||||||
uint32_t m_max_ver;
|
uint32_t m_max_ver;
|
||||||
uint32_t m_min_ver;
|
uint32_t m_min_ver;
|
||||||
} o;
|
} o = {0};
|
||||||
|
|
||||||
a[0].b = (struct ObjectBuf) { &o, 12 };
|
a[0].b = (struct ObjectBuf) { &o, 12 };
|
||||||
|
|
||||||
|
在新工单中引用
屏蔽一个用户