From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- include/linux/sensors_core.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 include/linux/sensors_core.h (limited to 'include/linux/sensors_core.h') 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 */ -- cgit v1.3.1