summaryrefslogtreecommitdiff
path: root/lib/data.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2007-04-09 14:09:21 +0000
committerHans de Goede <hdegoede@redhat.com>2007-04-09 14:09:21 +0000
commit666fe95cdbe63e61f6fc7234c9c1cc20103ac6b0 (patch)
tree1522b334919194d497e8e32130d653e271234938 /lib/data.h
parentc5ffa7b63592ba8bb66804372bcc6086de26eeb6 (diff)
downloadlm-sensors-git-666fe95cdbe63e61f6fc7234c9c1cc20103ac6b0.tar.gz
dynamicly generate a sensors_chip_features_list entry for unknown chips based on their sysfs entries, by Bob Schlarmann and Luuk Kleiweg
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4359 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'lib/data.h')
-rw-r--r--lib/data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/data.h b/lib/data.h
index 8cb0ba73..af6017c3 100644
--- a/lib/data.h
+++ b/lib/data.h
@@ -191,4 +191,7 @@ extern int sensors_proc_bus_max;
extern sensors_chip_features sensors_chip_features_list[];
+/* this should match the total number of elements in PLACEHOLDER_ELEMENTS */
+#define N_PLACEHOLDER_ELEMENTS 10
+
#endif /* def LIB_SENSORS_DATA_H */