Reading of eeprom_write_enable.

This commit is contained in:
Florian Pose 2006-07-25 10:03:13 +00:00
parent bed497249d
commit ae5f112b9d
1 changed files with 3 additions and 0 deletions

View File

@ -856,6 +856,9 @@ ssize_t ec_show_master_attribute(struct kobject *kobj, /**< kobject */
else if (attr == &attr_debug_level) {
return sprintf(buffer, "%i\n", master->debug_level);
}
else if (attr == &attr_eeprom_write_enable) {
return sprintf(buffer, "%i\n", master->eeprom_write_enable);
}
return 0;
}