diff --git a/fingerprint/fingerprint.c b/fingerprint/fingerprint.c index 5d5b8c7..aefaca3 100644 --- a/fingerprint/fingerprint.c +++ b/fingerprint/fingerprint.c @@ -677,7 +677,7 @@ static int fingerprint_open(const hw_module_t* module, const char __unused *id, } vdev->device.common.tag = HARDWARE_DEVICE_TAG; - vdev->device.common.version = HARDWARE_MODULE_API_VERSION(2, 0); + vdev->device.common.version = FINGERPRINT_MODULE_API_VERSION_2_1; vdev->device.common.module = (struct hw_module_t*)module; vdev->device.common.close = fingerprint_close; @@ -738,7 +738,7 @@ static struct hw_module_methods_t fingerprint_module_methods = { fingerprint_module_t HAL_MODULE_INFO_SYM = { .common = { .tag = HARDWARE_MODULE_TAG, - .module_api_version = FINGERPRINT_MODULE_API_VERSION_2_0, + .module_api_version = FINGERPRINT_MODULE_API_VERSION_2_1, .hal_api_version = HARDWARE_HAL_API_VERSION, .id = FINGERPRINT_HARDWARE_MODULE_ID, .name = "KLTE Fingerprint HAL",