diff options
| author | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
| commit | 8e4bff4cab0ddac6060645b0715210484d02ff40 (patch) | |
| tree | 3a5c3024371a04692a3a6d9974d001cdff8ebf84 /include/linux/sensors_core.h | |
Diffstat (limited to 'include/linux/sensors_core.h')
| -rw-r--r-- | include/linux/sensors_core.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/sensors_core.h b/include/linux/sensors_core.h new file mode 100644 index 00000000..3b488294 --- /dev/null +++ b/include/linux/sensors_core.h @@ -0,0 +1,19 @@ +/* + * Driver model for sensor + * + * Copyright (C) 2008 Samsung Electronics + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ +#ifndef __LINUX_SENSORS_CORE_H_INCLUDED +#define __LINUX_SENSORS_CORE_H_INCLUDED + +extern struct class *sensors_class; +extern int sensors_register(struct device *dev, + void *drvdata, struct device_attribute *attributes[], char *name); +extern void sensors_unregister(struct device *dev,struct device_attribute *attributes[]); + +#endif /* __LINUX_SENSORS_CORE_H_INCLUDED */ |
