summaryrefslogtreecommitdiffstats
path: root/nfc
diff options
context:
space:
mode:
authorKyle Repinski <repinski23@gmail.com>2015-11-17 12:53:22 -0600
committerZiyan <jaraidaniel@gmail.com>2016-01-17 22:41:00 +0100
commit66ee9365c5313d4a1bbb76561b3188566e44c025 (patch)
tree763f4211d876aeeb9a4c8e993f4228a67ca576e5 /nfc
parentcb8261e6db2a6a13ea67b1848e1cab6b0e7091ec (diff)
downloaddevice_samsung_tuna-66ee9365c5313d4a1bbb76561b3188566e44c025.zip
device_samsung_tuna-66ee9365c5313d4a1bbb76561b3188566e44c025.tar.gz
device_samsung_tuna-66ee9365c5313d4a1bbb76561b3188566e44c025.tar.bz2
Update some hw_device_t structs.
version_major and version_minor are deprecated. Ensure we actually set the sensor api version.
Diffstat (limited to 'nfc')
-rw-r--r--nfc/nfc_hw.c4
1 files changed, 2 insertions, 2 deletions
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",