mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-12-04 21:58:18 +00:00
Always build libsensors with sysfs support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4458 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
8b5ed619c0
commit
85393f35b6
4 files changed
+2
-28
No files matched your search
-10
@@ -20,7 +20,6 @@
|
||||
#ifndef SENSORS_LIB_SYSFS_H
|
||||
#define SENSORS_LIB_SYSFS_H
|
||||
|
||||
#ifdef SYSFS_SUPPORT
|
||||
extern int sensors_found_sysfs;
|
||||
|
||||
extern char sensors_sysfs_mount[];
|
||||
@@ -31,13 +30,4 @@ extern int sensors_read_sysfs_chips(void);
|
||||
|
||||
extern int sensors_read_sysfs_bus(void);
|
||||
|
||||
#else
|
||||
|
||||
#define sensors_found_sysfs 0
|
||||
#define sensors_init_sysfs() 0
|
||||
#define sensors_read_sysfs_chips() (-1)
|
||||
#define sensors_read_sysfs_bus() (-1)
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* !SENSORS_LIB_SYSFS_H */
|
||||
Reference in new issue
Block a user