mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-27 20:48:22 +00:00
Use complete chip names (prefix + bus + address) as the keys of
sensors_chip_features_list[]. Using only the prefix (as was done before) makes it impossible to properly support multiple chips with the same prefix but a different feature set. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4508 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
8fdfa3f19d
commit
063f4b91d4
6 files changed
+30
-35
No files matched your search
+1
-1
@@ -147,7 +147,7 @@ typedef struct sensors_chip_feature {
|
||||
|
||||
/* Internal data about all features of a type of chip */
|
||||
typedef struct sensors_chip_features {
|
||||
const char *prefix;
|
||||
struct sensors_chip_name chip;
|
||||
struct sensors_chip_feature *feature;
|
||||
} sensors_chip_features;
|
||||
|
||||
|
||||
Reference in new issue
Block a user