|
Revision 3098, 1.3 kB
(checked in by mmh, 3 years ago)
|
(mmh)
Bugfix: lib/init.c wasn't compiling properly if SYSFS_SUPPORT was turned off.
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
#ifndef SENSORS_LIB_SYSFS_H |
|---|
| 21 |
#define SENSORS_LIB_SYSFS_H |
|---|
| 22 |
|
|---|
| 23 |
#ifdef SYSFS_SUPPORT |
|---|
| 24 |
extern int sensors_found_sysfs; |
|---|
| 25 |
|
|---|
| 26 |
extern char sensors_sysfs_mount[]; |
|---|
| 27 |
|
|---|
| 28 |
extern int sensors_init_sysfs(void); |
|---|
| 29 |
|
|---|
| 30 |
extern int sensors_read_sysfs_chips(void); |
|---|
| 31 |
|
|---|
| 32 |
extern int sensors_read_sysfs_bus(void); |
|---|
| 33 |
|
|---|
| 34 |
#else |
|---|
| 35 |
|
|---|
| 36 |
#define sensors_found_sysfs 0 |
|---|
| 37 |
#define sensors_init_sysfs() 0 |
|---|
| 38 |
#define sensors_read_sysfs_chips() (-1) |
|---|
| 39 |
#define sensors_read_sysfs_bus() (-1) |
|---|
| 40 |
|
|---|
| 41 |
#endif |
|---|
| 42 |
|
|---|
| 43 |
#endif |
|---|