Hardware: Fingerprint: Add current version.

Change-Id: I8025276da558d1bf07735cd9d71ba1586566dd07
Signed-off-by: Sasha Levitskiy <sanek@google.com>
This commit is contained in:
Sasha Levitskiy 2014-04-07 14:54:12 -07:00
parent a747c069c6
commit 46781fd8f6

View file

@ -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;