From 66ee9365c5313d4a1bbb76561b3188566e44c025 Mon Sep 17 00:00:00 2001 From: Kyle Repinski Date: Tue, 17 Nov 2015 12:53:22 -0600 Subject: Update some hw_device_t structs. version_major and version_minor are deprecated. Ensure we actually set the sensor api version. --- nfc/nfc_hw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nfc') diff --git a/nfc/nfc_hw.c b/nfc/nfc_hw.c index 295bcab..1095375 100644 --- a/nfc/nfc_hw.c +++ b/nfc/nfc_hw.c @@ -142,8 +142,8 @@ static struct hw_module_methods_t nfc_module_methods = { struct nfc_module_t HAL_MODULE_INFO_SYM = { .common = { .tag = HARDWARE_MODULE_TAG, - .version_major = 1, - .version_minor = 0, + .module_api_version = 1, + .hal_api_version = HARDWARE_HAL_API_VERSION, .id = NFC_HARDWARE_MODULE_ID, .name = "Tuna NFC HW HAL", .author = "The Android Open Source Project", -- cgit v1.1