drop eeprom display when kernel is 2.6.x - partially resolves this:

http://lists.lm-sensors.org/pipermail/lm-sensors/2005-August/013403.html


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3064 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark M. Hoffman committed 2005-09-06 03:33:43 +00:00
1 parent c007106225
commit df8e4b3895
1 file changed
+4
+4
View File
@@ -93,6 +93,10 @@ static int sensors_read_one_sysfs_chip(char *name, char *dirname, char *id)
if (len >= 10 && !strcmp(x + len - 10, " subclient"))
return 0;
/* also, ignore eeproms for all 2.6.x kernels */
if (!strcmp(x, "eeprom"))
return 0;
/* Fill in the entry fields */
entry.name.prefix = strdup(x);
if (entry.name.prefix == NULL)