diff options
author | Sasha Levitskiy <sanek@google.com> | 2014-04-07 14:54:12 -0700 |
---|---|---|
committer | Sasha Levitskiy <sanek@google.com> | 2014-04-07 14:54:42 -0700 |
commit | 46781fd8f60ed0eea0cc2c8c751eb62c4aac5d84 (patch) | |
tree | 218dc64510224fb8d5d2f38ec00e57576065314b | |
parent | a747c069c6b3f5a6420662020822992cc70384bc (diff) | |
download | hardware_libhardware-46781fd8f60ed0eea0cc2c8c751eb62c4aac5d84.zip hardware_libhardware-46781fd8f60ed0eea0cc2c8c751eb62c4aac5d84.tar.gz hardware_libhardware-46781fd8f60ed0eea0cc2c8c751eb62c4aac5d84.tar.bz2 |
Hardware: Fingerprint: Add current version.
Change-Id: I8025276da558d1bf07735cd9d71ba1586566dd07
Signed-off-by: Sasha Levitskiy <sanek@google.com>
-rw-r--r-- | modules/fingerprint/fingerprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fingerprint/fingerprint.c b/modules/fingerprint/fingerprint.c index 3bdcdab..a7691ed 100644 --- a/modules/fingerprint/fingerprint.c +++ b/modules/fingerprint/fingerprint.c @@ -64,7 +64,7 @@ static int fingerprint_open(const hw_module_t* module, const char* id, memset(dev, 0, sizeof(fingerprint_device_t)); dev->common.tag = HARDWARE_DEVICE_TAG; - dev->common.version = 0; + dev->common.version = HARDWARE_MODULE_API_VERSION(1, 0); dev->common.module = (struct hw_module_t*) module; dev->common.close = fingerprint_close; |