Set correct module version for qcom keystore

Requires
  https://android-review.googlesource.com/#/c/93571/

Bug: 14384714
Change-Id: I1544b9b2d4d069dbcfb8be219a1d9755c54342e6
diff --git a/keymaster_qcom.cpp b/keymaster_qcom.cpp
index d9dec09..c98531e 100644
--- a/keymaster_qcom.cpp
+++ b/keymaster_qcom.cpp
@@ -790,8 +790,8 @@
 __attribute__ ((visibility ("default"))) = {
     .common = {
         .tag = HARDWARE_MODULE_TAG,
-        .version_major = 1,
-        .version_minor = 0,
+        .module_api_version = QCOM_KEYMASTER_API_VERSION,
+        .hal_api_version = HARDWARE_HAL_API_VERSION,
         .id = KEYSTORE_HARDWARE_MODULE_ID,
         .name = "Keymaster QCOM HAL",
         .author = "The Android Open Source Project",
diff --git a/keymaster_qcom.h b/keymaster_qcom.h
index 0d6cf67..2a0d8b7 100644
--- a/keymaster_qcom.h
+++ b/keymaster_qcom.h
@@ -38,7 +38,7 @@
  * module to recognize which API level of the client it is dealing with in
  * the case of pre-compiled binary clients.
  */
-#define QCOM_KEYMASTER_API_VERSION 2
+#define QCOM_KEYMASTER_API_VERSION KEYMASTER_MODULE_API_VERSION_0_3
 
 #define KM_MAGIC_NUM     (0x4B4D4B42)    /* "KMKB" Key Master Key Blob in hex */
 #define KM_KEY_SIZE_MAX  (512)           /* 4096 bits */