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/data.h | |
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/data.h')
-rw-r--r-- | lib/data.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* data.h - Part of libsensors, a Linux library for reading sensor data. Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl> - Copyright (C) 2007 Jean Delvare <khali@linux-fr.org> + Copyright (C) 2007, 2009 Jean Delvare <khali@linux-fr.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -135,6 +135,7 @@ typedef struct sensors_chip_features { extern sensors_chip *sensors_config_chips; extern int sensors_config_chips_count; +extern int sensors_config_chips_subst; extern int sensors_config_chips_max; extern sensors_bus *sensors_config_busses; |