fingerprint_sysfs.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (C) 2017, Samsung Electronics Co. Ltd. All Rights Reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. */
  15. #ifndef FINGERPRINTSYSFS_H_
  16. #define FINGERPRINTSYSFS_H_
  17. #include <linux/module.h>
  18. #include <linux/types.h>
  19. #include <linux/init.h>
  20. #include <linux/device.h>
  21. #include <linux/fs.h>
  22. #include <linux/err.h>
  23. #include <linux/version.h>
  24. void set_fingerprint_attr(struct device *dev,
  25. struct device_attribute *attributes[]);
  26. int fingerprint_register(struct device *dev, void *drvdata,
  27. struct device_attribute *attributes[], char *name);
  28. void fingerprint_unregister(struct device *dev,
  29. struct device_attribute *attributes[]);
  30. void destroy_fingerprint_class(void);
  31. #endif