summaryrefslogtreecommitdiff
path: root/include/linux/sensors_core.h
blob: 3b488294eda4de225eb4dd8823bece4f0ecbf9de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 */