summaryrefslogtreecommitdiff
path: root/include/linux/sensors_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sensors_core.h')
-rw-r--r--include/linux/sensors_core.h19
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 */