summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2015-04-08 22:55:51 -0700
committerJim Miller <jaggies@google.com>2015-04-11 09:21:56 -0700
commit1e1f7ba5c99a0f715735c347597e3637e3870626 (patch)
tree7d46c41fc6403875dc88787d818d3358319c12c0 /modules
parent3d0ed44138bf5ce3649990275eb5fc6c17517ce3 (diff)
downloadhardware_libhardware-1e1f7ba5c99a0f715735c347597e3637e3870626.zip
hardware_libhardware-1e1f7ba5c99a0f715735c347597e3637e3870626.tar.gz
hardware_libhardware-1e1f7ba5c99a0f715735c347597e3637e3870626.tar.bz2
Clean up FingerprintManager API and make it public.
Change-Id: I416dcc42fd70926875cc77e0c2cc958fdfcd9f9d
Diffstat (limited to 'modules')
-rw-r--r--modules/fingerprint/fingerprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/fingerprint/fingerprint.c b/modules/fingerprint/fingerprint.c
index 0f11954..f9fd44b 100644
--- a/modules/fingerprint/fingerprint.c
+++ b/modules/fingerprint/fingerprint.c
@@ -38,7 +38,7 @@ static int fingerprint_enroll(struct fingerprint_device __unused *dev,
return FINGERPRINT_ERROR;
}
-static int fingerprint_enroll_cancel(struct fingerprint_device __unused *dev) {
+static int fingerprint_cancel(struct fingerprint_device __unused *dev) {
return FINGERPRINT_ERROR;
}
@@ -81,7 +81,7 @@ static int fingerprint_open(const hw_module_t* module, const char __unused *id,
dev->common.close = fingerprint_close;
dev->enroll = fingerprint_enroll;
- dev->enroll_cancel = fingerprint_enroll_cancel;
+ dev->cancel = fingerprint_cancel;
dev->remove = fingerprint_remove;
dev->set_active_group = fingerprint_set_active_group;
dev->authenticate = fingerprint_authenticate;