lib: Make 6 async reporting funcs private

As those aren't used in any driver.
This commit is contained in:
Bastien Nocera 2018-11-29 14:38:24 +01:00
parent 61483a4c47
commit 1d00c2d4b4
3 changed files with 11 additions and 16 deletions

View file

@ -235,17 +235,11 @@ fp_img_driver
<SECTION> <SECTION>
<INCLUDE>fpi-async.h</INCLUDE> <INCLUDE>fpi-async.h</INCLUDE>
<FILE>fpi-async</FILE> <FILE>fpi-async</FILE>
fpi_drvcb_capture_started
fpi_drvcb_capture_stopped
fpi_drvcb_close_complete fpi_drvcb_close_complete
fpi_drvcb_enroll_stage_completed fpi_drvcb_enroll_stage_completed
fpi_drvcb_enroll_started fpi_drvcb_enroll_started
fpi_drvcb_enroll_stopped fpi_drvcb_enroll_stopped
fpi_drvcb_identify_started
fpi_drvcb_identify_stopped
fpi_drvcb_open_complete fpi_drvcb_open_complete
fpi_drvcb_report_capture_result
fpi_drvcb_report_identify_result
fpi_drvcb_report_verify_result fpi_drvcb_report_verify_result
fpi_drvcb_verify_started fpi_drvcb_verify_started
fpi_drvcb_verify_stopped fpi_drvcb_verify_stopped

View file

@ -304,6 +304,17 @@ void fpi_timeout_cancel_all_for_dev(struct fp_dev *dev);
void fpi_poll_init(void); void fpi_poll_init(void);
void fpi_poll_exit(void); void fpi_poll_exit(void);
/* Defined in fpi-async.c */
void fpi_drvcb_capture_started(struct fp_dev *dev, int status);
void fpi_drvcb_report_capture_result(struct fp_dev *dev, int result,
struct fp_img *img);
void fpi_drvcb_capture_stopped(struct fp_dev *dev);
void fpi_drvcb_identify_started(struct fp_dev *dev, int status);
void fpi_drvcb_report_identify_result(struct fp_dev *dev, int result,
size_t match_offset, struct fp_img *img);
void fpi_drvcb_identify_stopped(struct fp_dev *dev);
#include "drivers_definitions.h" #include "drivers_definitions.h"
#endif #endif

View file

@ -36,14 +36,4 @@ void fpi_drvcb_report_verify_result(struct fp_dev *dev, int result,
struct fp_img *img); struct fp_img *img);
void fpi_drvcb_verify_stopped(struct fp_dev *dev); void fpi_drvcb_verify_stopped(struct fp_dev *dev);
void fpi_drvcb_identify_started(struct fp_dev *dev, int status);
void fpi_drvcb_report_identify_result(struct fp_dev *dev, int result,
size_t match_offset, struct fp_img *img);
void fpi_drvcb_identify_stopped(struct fp_dev *dev);
void fpi_drvcb_capture_started(struct fp_dev *dev, int status);
void fpi_drvcb_report_capture_result(struct fp_dev *dev, int result,
struct fp_img *img);
void fpi_drvcb_capture_stopped(struct fp_dev *dev);
#endif #endif