sensors_core.h 717 B

12345678910111213141516171819202122232425
  1. /*
  2. * Driver model for sensor
  3. *
  4. * Copyright (C) 2008 Samsung Electronics
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. *
  10. */
  11. #ifndef _SENSORS_CORE_H_
  12. #define _SENSORS_CORE_H_
  13. int sensors_create_symlink(struct kobject *, const char *);
  14. void sensors_remove_symlink(struct kobject *, const char *);
  15. int sensors_register(struct device *, void *,
  16. struct device_attribute *[], char *);
  17. void sensors_unregister(struct device *, struct device_attribute *[]);
  18. void destroy_sensor_class(void);
  19. void remap_sensor_data(s16 *, int);
  20. #endif /* __LINUX_SENSORS_CORE_H_INCLUDED */