diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-02-15 17:19:03 +0000 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-02-15 17:19:03 +0000 |
commit | 3ea4545611b6022e536782f07435966cf91603d0 (patch) | |
tree | be63bb7ed4971b696c314c77a3f5d987cf843362 /lib/init.c | |
parent | d5bead602534bcb59a09debf4f6546915219ca52 (diff) | |
download | lm-sensors-git-3ea4545611b6022e536782f07435966cf91603d0.tar.gz |
Make it possible to only substitute the bus number of a subset of the
chip entries. This is a prerequisite to add support for multiple
configuration files. Each configuration file can come with its own bus
statements and the bus number substitution should only affect chip
entries from the same configuration file.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5646 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'lib/init.c')
-rw-r--r-- | lib/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -240,6 +240,7 @@ void sensors_cleanup(void) free(sensors_config_chips); sensors_config_chips = NULL; sensors_config_chips_count = sensors_config_chips_max = 0; + sensors_config_chips_subst = 0; for (i = 0; i < sensors_proc_bus_count; i++) free_bus(&sensors_proc_bus[i]); |